Skip to content

Instantly share code, notes, and snippets.

@zeljkoprsa
Created January 6, 2015 18:04
Show Gist options
  • Save zeljkoprsa/fab584f63c3cd2a95c27 to your computer and use it in GitHub Desktop.
Save zeljkoprsa/fab584f63c3cd2a95c27 to your computer and use it in GitHub Desktop.
Add Cms static block via XML within appropriate store view
<STORE_de>
<reference name="left">
<block type="cms/block" name="cms_static_block_id_de">
<action method="setBlockId"><block_id>cms_static_block_id_de</block_id></action>
</block>
</reference>
</STORE_de>
<STORE_en>
<reference name="left">
<block type="cms/block" name="cms_static_block_id_en">
<action method="setBlockId"><block_id>cms_static_block_id_en</block_id></action>
</block>
</reference>
</STORE_en>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment