Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经更改了许多运输方式及其在前端的显示。由于自定义,我以编程方式给出了名称,例如“标准:1-2 个工作日:2”现在我想将后端的显示和上述方法的显示更改为“标准(1-2 个工作日) )”。我想知道保存到数据库时在哪里更改这些名称。
您可以在位于 app/locale/en_US/Mage_Shipping.csv 的 Mage_Shipping.csv 中更改运输方式的翻译
搜索包含您的运输方式名称的行。例如 "Flat Rate","Flat Rate" 并将最后的报价更改为您想要的。 "Flat Rate","Shipping (1-2 days)"
"Flat Rate","Flat Rate"
"Flat Rate","Shipping (1-2 days)"