自定义Magento边栏
如何在magento的侧边栏上编辑或添加块转到自定义Magento边栏,magento,customization,Magento,Customization,如何在magento的侧边栏上编辑或添加块转到app/design/frontend/default/[yourtheme]/layout位置,通过从base/default/layout文件夹复制来创建page.xml 搜索: <block type="core/text_list" name="right" as="right" translate="label"> <label>Right Column</label> </block>
app/design/frontend/default/[yourtheme]/layout
位置,通过从base/default/layout
文件夹复制来创建page.xml
搜索:
<block type="core/text_list" name="right" as="right" translate="label">
<label>Right Column</label>
</block>
右栏
并将其更改为:
<block type="core/text_list" name="right" as="right" translate="label">
<label>Right Column</label>
<block type="core/template" template="pth/to/your/layout.phtml"/>
</block>
右栏
如果您有自定义布局,您可以使用该布局通过引用覆盖块/“子块”
具体而言,您可能希望查看此图像: