自定义评论页面总计文本(运输和处理(统一费率 - 固定))
在magento单页结帐的审核订单页面上,我想缩短“运输和处理(固定费率 - 固定)”文本(请参阅http://d.pr/AAlb)。 我希望它只是阅读“运输和处理”并删除括号中写的承运人/交付类型
我该怎么做?它是用 $this->renderTotals(null, $_colspan);
渲染的,这给了我运费+小计。我不知道从哪里开始。
On the review order page in onepage checkout in magento I want to shorten the "Shipping & Handling (Flat Rate - Fixed)" text (see http://d.pr/AAlb).
I want it to just read "Shipping & Handling" and remove the carrier/delivery type written in brackets
How can I do that? It's rendered with $this->renderTotals(null, $_colspan);
, which gives me shipping cost+sub total. I don't know where to start from here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我所做的一个实现。这是标准覆盖(http://inhoo.net/ecommerce/magento/how_to_override_magento_model_classes/)。我这样做是为了不太深入到最重要的系统。
Here is an implementation that I have done. This is a standard override (http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/). I did it this way so as to not get too deep into the overriding system.