hmzfier
hmzfier

Reputation: 554

Magento - Add a static block to the left column

How would I go about adding a static block on my left column on the category pages?

I would like the static block to go underneath the main column so that it looks like this: https://i.sstatic.net/0dR5W.jpg

Thank-you.

Upvotes: 0

Views: 5066

Answers (1)

Kandarp B Patel
Kandarp B Patel

Reputation: 1061

override catalog.xml layout file in your template.

in and

<catalog_category_layered>
    <reference name="left">
        <block type="cms/block" name="block-name">
          <action method="setBlockId"><block_id>block_id</block_id></action>
        </block>
    </reference>
</catalog_category_layered>

<catalog_category_default>
    <reference name="left">
        <block type="cms/block" name="block-name">
          <action method="setBlockId"><block_id>block_id</block_id></action>
        </block>
    </reference>
</catalog_category_default>

Upvotes: 3

Related Questions