Magento模板问题
我对 Magento 的可配置产品模板有疑问。
http://clientsupports.com/mind/index.php/clothing/ Bottoms/33.html
我想将颜色和尺寸移至价格 33.00 美元以下。我尝试修改布局目录中的catalog.xml。我尝试在目录/产品/视图下查找模板文件,但找不到任何内容。
我应该更新哪些文件?
I have a problem with Magento's configurable product template.
http://clientsupports.com/mind/index.php/clothing/bottoms/33.html
I would like to move color and size under the price $33.00. I tried to modify catalog.xml in layout directory. I tried to find a template file under catalog/product/view, but I can't find anything.
What files should I update??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Magento 中,查找要编辑的模板或块的方法是“启用模板提示”。这会在页面上的每个块周围放置方框,并注明哪个块和哪个模板生成它。
您可以在系统->配置->开发人员->调试下从管理员启用模板提示。
请注意,您必须在左上角选择网站范围。该选项在默认范围内不可用。
还有一点可能会有所帮助 - 如果您的网站已经上线,或者其他人正在使用它,则可以选择将模板提示限制为仅您的 IP。
In Magento, the way to find out what template or block to edit is to 'enable template hints'. This puts boxes around each block on a page, and notes what block and what template generate it.
You can enable template hints from the admin under System->Configuration->Developer->Debug.
Note that you'll have to choose a website scope on the upper left. The option isn't available in the default scope.
One more note that may be helpful - If your site is live already, or other people are using it, there's an option there to limit the template hints to only your IP.