本文介绍了从购物车中删除运费计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从商店的购物车中删除运费计算?这是网站:tintinportintin.com.br
How can I remove the shipping calculations from the cart of my store?This is the site: tintinportintin.com.br
推荐答案
在app/design/frontend/base/default/checkout.xml中的第89行,您会找到:
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"/>
此行负责显示该块.您可以将此XML文件复制到您自己的主题,然后删除此行.
This line is responsible for showing that block. You can copy this XML file to your own theme and remove this line.
但是您也可以使用<checkout_cart_index>
手柄并将其删除.例如,可以在local.xml中完成此操作.
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>
希望有帮助!
这篇关于从购物车中删除运费计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!