O'Reilly logo

Mastering Magento Theme Design by Andrea Saccà

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing the main content

As you can see from the next screenshot, in the main content, we want to display the following points:

  • Some text information right at the top
  • A block with some products of a specific category
  • A block with text information after each product
Customizing the main content

First, we are going to develop the main block, which contains the products grid. Afterwards, we are going to insert the remaining text blocks.

Adding a block with some products of a specific category

To display some products of a specific category in a CMS page, we need to perform the following steps:

  1. Create the custom products list file called list-home.phtml in app/design/frontend/bookstore/default/template/catalog/product ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required