Magento - moving blocks

2019-09-17 03:44发布

I am looking at creating a bundle product, that has several bundle items available to it.

My min problem, is that one item, is a checkbox list and has approx 200 options available.

So I'm looking to move this block from the right column, to the main column.

Does anyone know which file this is in?

I'm using v1.6.1

Thanks

标签: magento
1条回答
孤傲高冷的网名
2楼-- · 2019-09-17 03:50

firt step to move this block is locate where the block is add in template layot. To locate it you can active frontend hint in system->configuration( select mimimum scope website)->in the tag advanced->developed and depure enter image description here

next you can see the template of your block. for example footer.phtm enter image description here

next you should search the definition of this block in the layout file. Layout file is a file.xml for compose your design. in the example of footer:

<default>
     <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
                <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
                    <label>Page Footer</label>
                    <action method="setElementClass"><value>bottom-container</value></action>
                </block>

    </default><!--handle default-->

Your block content in a left block probably, you should cut and paste the block in the content block to see this in the content block. hope help you.

查看更多
登录 后发表回答