Remove shipping calculations from cart

梦想的初衷 提交于 2019-12-06 08:12:37

问题


How can I remove the shipping calculations from the cart of my store? This is the site: tintinportintin.com.br


回答1:


On line 89 in app/design/frontend/base/default/checkout.xml you wil find:

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

This line is responsible for showing that block. You can copy this XML file to your own theme and remove this line.

But you can also use the <checkout_cart_index> handle and remove it. This can be done in local.xml for example.

<checkout_cart_index>
    <remove name="checkout.cart.shipping" />
</checkout_cart_index>

Hope it helps !



来源:https://stackoverflow.com/questions/14371484/remove-shipping-calculations-from-cart

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!