Skip to main content
deleted 2 characters in body
Source Link
S.P
  • 1.6k
  • 12
  • 16

override checkout_cart_index.xml file

and last line remove coupon code block

Move from app/design/frontend/V/T/Magento_checkout/layout/checkout_cart_index.xml

 <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> ..... ..... <item<referenceBlock name="componentDisabled"name="checkout.cart.coupon" xsi:type="boolean">true<remove="true"/item>> </body> </page> 

override checkout_cart_index.xml file

and last line remove coupon code block

Move from app/design/frontend/V/T/Magento_checkout/layout/checkout_cart_index.xml

 <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> ..... ..... <item name="componentDisabled" xsi:type="boolean">true</item> </body> </page> 

override checkout_cart_index.xml file

and last line remove coupon code block

Move from app/design/frontend/V/T/Magento_checkout/layout/checkout_cart_index.xml

 <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> ..... ..... <referenceBlock name="checkout.cart.coupon" remove="true"/> </body> </page> 
Source Link
S.P
  • 1.6k
  • 12
  • 16

override checkout_cart_index.xml file

and last line remove coupon code block

Move from app/design/frontend/V/T/Magento_checkout/layout/checkout_cart_index.xml

 <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> ..... ..... <item name="componentDisabled" xsi:type="boolean">true</item> </body> </page>