Search This Blog

Feb 8, 2012

Magento: Add Blocks on CMS Pages

Adding static blocks on cms pages is a 2 step process and pretty easy to do. Using static block is important to divide your content into sections that can be used anywhere in your site.

1. The first step you need to do is to create a static block and get its identifier.

a. Go to CMS > Static Blocks


b. Fill in the required fields.
c. Save

Note: Please take note of the identifier of your blocks.

2. Edit / Create a CMS page then add the below block variable on the content field.

a. Go to CMS > Pages
b. Edit / Create new page
c. Add this code :


{{block type="cms/block" block_id="your-identifier"}}
Note: Please change the "your-identifier" with your correct block identifier.

d. Save

That’s it. Share this post or you can comment below for questions and reactions.

0 comments: