-
13-12-2019 - |
题
如何更改预订购物车消息???
我需要显示类似"产品将从1月1日开始发货"的内容
Thx
解决方案
字符串在 Mage_CatalogInventory
模块为"此产品没有要求的数量。项目的%s将被退回。"
您可以使用主题翻译或内联翻译更改它,如下所述: Magento-重命名税为商品及服务税
对于主题翻译方法,您需要以下行 translate.csv
:
"Mage_CatalogInventory::This product is not available in the requested quantity. %s of the items will be backordered.","The product will be available to ship from the 1st of january"
其他提示
@fschmengler您的答案非常有用,但对于我的magento安装,我需要一个略微不同的代码,以用于翻译文件:
"""%s"" is not available in the requested quantity. %s of the items will be backordered.","new message here"
也许这是由于我的主题或不同的magento版本(我在CE 1.9.0.1上)