[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Magento. How to add static blocks to product details pages (starting from template 55000+)

This tutorial will show you how to add static blocks to product details pages of your Magento store (starting from template 55000+).

Magento. How to add static blocks to product details pages (starting from template 55000+)

  1. Log into your Magento admin panel.

  2. Navigate to CMS -> Static Block -> Add New Block:

    Magento. How to add a static blocks to product details pages_1

  3. Create a static block. We will use “contact_info” as block Identifier:

    Magento. How to add a static blocks to product details pages_2

  4. After that open the file app/design/frontend/tm_themes/themeXXX/layout/local.xml, where XXX is your theme number. Find the reference below:

    <reference name="left">

    Magento. How to add a static blocks to product details pages_3

  5. Add the following code right below the reference:

    <block type="cms/block" name="contact_info" before="-">
    <action method="setBlockId"><block_id>contact_info</block_id></action>
    </block>

    Magento. How to add a static blocks to product details pages_4

  6. In case your template comes with right sidebar area, you should find the reference name “right”:

    <reference name="right">
  7. Make sure to replace “contact_info” identifier with your own one.

  8. Save the file. Clear Magento cache. Navigate to product page to see the changes:

    Magento. How to add a static blocks to product details pages_5

Feel free to check the detailed video tutorial below:

Magento. How to add static blocks to product details pages (starting from template 55000+)