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.
我在 magento 中使用 CMS/页面。我正在从 cms/pages/homepage 调用 phtml 文件。
CMS 页面对于在该系统中创建的所有网站都是通用的。(如果我错了,我想纠正我)
如何根据加载的网站调用不同的 phtml 文件?
您可以为不同的商店视图(以及网站)创建不同的 CMS 页面。如果您不知道如何使用它的管理面板,请查看 Magento wiki。