Home » Tutorials For Beginner » How to create and edit Static Blocks in Magento

How to create and edit Static Blocks in Magento

How to create and edit Static Blocks in Magento? By using static blocks you are able to create content for category pages, allowing you to showcase items and promotions instead of just displaying the grid list of products.

To create a static block go to CMS -> Static Blocks, then select Add New Block.

magento static block admin_staticblock_new

In this case we are going to create a block for use on the Cell Phone sub-category page.

We enter the Block title, for internal use, and the identifier, which will create the URL for this page.

We then select the store we want to use the Block on, in this case all stores, and set the Block to enabled. Once that is done we enter our content in an HTML Format and select Save Block.

magento static block admin_staticblock_cell

Now that we have the block created we set it up for use on the Cell Phone sub-category page as described in the Tutorial: Creating and Managing Categories.

We select that we want to show the static block and the products below, and we have our category page set up:

magento static block front_staticblock_cell

The static blocks are incredibly flexible, allowing you to create something as simple as a text category description, or something as intricate as multiple image maps, such as what we are showcasing on the Electronics category page.

magento static block admin_staticblock_electronics

You can add a static block to any HTML content field by using the tag

This is useful on Landing Pages, where the content of the page is determined via an HTML text field.

About Brian Wilson

avatar
Brian is a freelance Magento developer with 5 years of experience with customizing Magento extensions, magento themes. He's interested in sharing Magento Tutorials to the community

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Scroll To Top