To remove the Estimate shipping and taxes block you’ll need to customize the layout of your theme.
In order to do this you can copy app/design/frontend/base/default/layout/checkout.xml intoapp/design/frontend/default/grayscale/layout/ (you need to replace default/grayscale with the path to your theme files) and after that customizeapp/design/frontend/default/grayscale/layout/checkout.xml removing the following line there:
<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
Another, more correct way (as it will not override whole default layout, so will be more upgrade-friendly) would be to edit local.xml file in app/design/frontend/default/grayscale/layout/ and add the following content right above the closing </layout> at the bottom:
1 2 3 4 5 6 7 |
<checkout_cart_index> <reference name="content"> <block name="checkout.cart"> <remove name="checkout.cart.shipping"/> </block> </reference> </checkout_cart_index> |
After that you need to refresh Layouts cache at System > Cache Management
5 Comments
Jim Myers
Hi josh, I’m trying to sort this out in 1.8.1 – none of the tips I’ve read seem to apply to that version – any ideas you have would be very welcome.
Thanks
Gershon
Hello,
Thank You for guide.
This work on magento 1.8.1
but this also remove the shipping in one page checkout.
e.g without estimation no shopping options…any idea ?
Thank You!
Signboxx
Funny thing. I’m trying to find out how to add this Estimate Shipping Cost block into my checkout page, but all I can find is how to remove the block.
I need to include it because customers keep calling us and asking for the price.
That line in checkout.xml only adds a link to the CMS page for shipping costs, but there is no form to calculate them directly.
shipping.phtml does have code for the form, but the link to the cms page is shown instead of the form.
If anyone knows how to help, I’ll be forever in your debt!
Karthik
Hi Josh
Really super thanks for your post to remove block.
Shop.Pier28.com
Same here, I want to learn how to add the Estimate Shipping block to Magento 1.9