Magento 2 remove Gift Cards Cart Summary

by Joshua Fricke   Last Updated September 18, 2018 00:09 AM

Working to remove the Gift Card option on Magento 2 Cart summary section. Having issue getting this working. Have created the following file:


The following code is not working to remove the giftcard block:

<page xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="cart.summary">
                <argument name="jsLayout" xsi:type="array">
                    <item name="components" xsi:type="array">
                        <item name="block-giftcard" xsi:type="array">
                            <item name="config" xsi:type="array">
                                <item name="componentDisabled" xsi:type="boolean">true</item>

Related Questions

Magento best practices: try / catch in templates

Updated March 16, 2017 13:09 PM

Turn template path hints off from command line

Updated April 09, 2015 19:03 PM