Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
自定义Magento边栏_Magento_Customization - Fatal编程技术网

自定义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>

如何在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>

右栏
并将其更改为:

<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>

右栏

如果您有自定义布局,您可以使用该布局通过引用覆盖块/“子块”

具体而言,您可能希望查看此图像: