How to remove discount code block from magento cart
Hello Friend do you want to remove discount block from checkout page. then i have simple just 2 days to hide it for remove it from checkout page. if you want to remove also shipping calculator then you can also remove it from those ways.
To remove those block just go to file checkout.xml file
path /app/design/frontend/default/[your_theme]/layout/checkout.xml.
If there is no such file, copy it from /app/design/frontend/base/default/layout/checkout.xml to your theme and
Remove block
Open the file and delete the following code:
<block type=”checkout/cart_coupon” name=”checkout.cart.coupon” as=”coupon” template=”checkout/cart/coupon.phtml”/>
If you want to delete the ESTIMATE SHIPPING AND TAX block from checkout page then go to same file and find the following line and remove the code.
<block type=”checkout/cart_shipping” name=”checkout.cart.shipping” as=”shipping” template=”checkout/cart/shipping.phtml”/>
That’s all.
Flush the cache. and see result
Method 2 :
just go to cart.phtml file of your theme and remove the discount block from code.
Path –> Design –> Frontend –> Base — > Default –> Template –> Checkout –> cart.phtml
Please delete or comment this line:
<?php getChildHtml(‘coupon’) ?>
Thank You for more comments or right me on my email 🙂
Magento Experts for Hire
Is Your Magento Store Secure?
Vulnerabilities like CosmicSting and SessionReaper are actively exploited. Scan your website in seconds to detect malware, exposed endpoints, and missing patches.
Run Free Security Scan on MageArgus →
Fact-Checked & Verified by W3ctrl
This content has been written and reviewed by Adobe-Certified Technical Experts with over 16 years of experience in Enterprise Architecture.

