对于设置了免费送货规则的产品,可以从 Magento 的结帐中删除送货步骤和信息吗?
对于特定产品,我有一个购物车规则,可以免费送货。不显示运输信息并绕过此类产品的运输方式选择是合乎逻辑的。有什么简单的方法可以做到这一点吗?
For a specific product I've got a Shopping Cart Rule which makes shipping for it free. It would be logical to not show shipping information and bypass shipping method selection for such product. Is there any easy way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可以通过扩展模块轻松实现。
/app/etc/modules/YourCompany_SkipShipping.xml
/app/code/local/YourCompany/SkipShipping/etc/config.xml
/app/code/local/YourCompany/SkipShipping/controllers/OnepageController.php
我会将如何检查运输方式的具体细节留给您,但如果您无法弄清楚,请发表评论,我会将其添加为出色地。
注意:所有示例均基于 Magento 1.5
This can be easily accomplished with an extension module.
/app/etc/modules/YourCompany_SkipShipping.xml
/app/code/local/YourCompany/SkipShipping/etc/config.xml
/app/code/local/YourCompany/SkipShipping/controllers/OnepageController.php
I'll leave the specifics of how you check the shipping method to you, but if you cannot figure it out, post a comment and I'll add that as well.
NB: All examples are based on Magento 1.5