Add code

Wednesday 6 January 2016

How to remove the Estimate Shipping and Tax box in Magento My cart page?

Solution 1:

Edit your theme's "/layout/checkout.xml" file. Find and Comment the below lines.

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


Solution 2:

Add new "local.xml" file under your theme's layout folder.

<layout>
   <default>
      <remove name="checkout.cart.shipping"></remove>
   </default>
</layout>

Here, You no need to search for any template or layout file. This code will do the trick. After making changes dont forget to refresh the cache. That's it. You are done.

No comments:

Post a Comment

Magento : 404 error is showing admin page

Hello, Sometimes we may get the error on admin page once done with the Magento installation. In that scenario, we have to do the following: ...