Does anyone know how i can disable/remove the Discount Coupon from Magento Shopping Cart Page v 1.9 ?
Thanks.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityIn your theme's local.xml add the following code
<?xml version="1.0" encoding="UTF-8" ?>
<layout>
<checkout_cart_index>
<reference name="content">
<remove name="checkout.cart.coupon"/>
</reference>
</checkout_cart_index>
</layout>
Remove the following code from /app/design/frontend/your_package/yourtheme/layout/checkout.xml
<block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
How to remove discount code block from magento cart
In order to remove the discount code block you have to open the checkout.xml file which is located in/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, remove the following code from the same file. The code should be just after the previeous line.
<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
That’s all. Do not forget to refresh the cache.
The changes in layout.xml is not shown untill you delete existing content an paste the layout.xml code and refresh cache