15

anyone care to advise on how to remove the "Estimate Shipping and Tax" option on Shopping Cart page ?

37

In your local.xml file, add the following. This should remove the block.

<checkout_cart_index>
    <remove name="checkout.cart.shipping" />
</checkout_cart_index>
  • It's worth pointing out that Delphin's solution works, however, it isn't as "update friendly" as mine, as it expects you to have a copy of checkout.xml in your local theme, and this might change when you upgrade and you'll be missing the updates. – Douglas Radburn Jul 10 '14 at 14:09
  • Thanks. But where's this file located ? – Mave Jul 10 '14 at 14:14
  • /app/design/frontend/your_package/yourtheme/layout/local.xml – Douglas Radburn Jul 10 '14 at 14:21
  • Thanks. Would that be tempmela.xml in /app/design/frontend/default/MAG090172/layout – Mave Jul 10 '14 at 14:34
  • 1
    local.xml does not exist out of the box, you have to create it (it contains layout upgrades and obviously empty store doesn't have any). – Pronto Jul 10 '14 at 14:41
7

Check this and put in your theme's local.xml file

<?xml version="1.0" encoding="UTF-8" ?>
<layout>
    <checkout_cart_index>
        <reference name="content">
            <remove name="checkout.cart.shipping"/>
        </reference>
    </checkout_cart_index>
</layout>
3

Remove the following code from below file.

app/design/frontend/your_package/yourtheme/layout/checkout.xml

<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>

Finally Clear the cache in the admin panel.

  • Never remove anything from layout xml file, jut do it in your local.xml file. – Ashwani Panwar Nov 29 '18 at 5:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.