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
If there is no such file, copy it from /app/design/frontend/base/default/layout/checkout.xml to your theme and
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”/>
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
W3ctrl is all about Software Development and Web Development on a larger perspective and more emphasis is given to Customize Business Software Development and Web Development. We are providing the best E-commerce solution for your business with the latest technology and marketing strategy.