Assigning Blocks to Category or Product Pages
Edit on GitHubThe topic describes how to create a category and a product details page by assigning CMS blocks to those pages.
This might be useful if you decided to hold a marketing campaign, a set of activities (sales, discounts) geared towards some event or add a banner to the page. In this case, you can embed a CMS block containing the marketing content that will be displayed only on category or product detail pages you specify.
To start creating the category or product detail pages, navigate to the Content Management > Blocks section.
Assigning a Block to a Category Page
To create a category page:
- On the Overview of CMS Blocks page in the Actions column, click Edit Block next to the block you would like to use to create a page.
You can only add existing, active, and not expired block. If the block has not been created yet, see the Creating a CMS Block article first.
-
On the Edit CMS Block: Block ID page that opens, put a cursor on the container where the CMS block will be displayed depending on your design requirements:
- Categories: top
- Categories: middle
- Categories: bottom
See CMS Block: Reference Information to learn more about attributes displayed on the Edit CMS Block: Block ID page.
- From the drop-down list, select the category which this block will be assigned to.
- To keep the changes, click Save.
Assigning a Block to a Product Detail Page
To create a product detail page:
- On the Overview of CMS Blocks page in the Actions column, click Edit Block next to the block you would like to use to create a page.
You can only add existing, active, and not expired block. If the block has not been created yet, see the Creating a CMS Block article first.
- Scroll down the page to the Products field and put a cursor there.
See CMS Block: Reference Information to learn more about attributes displayed on the Edit CMS Block: Block ID page.
- From the drop-down list, select any of the suggested abstract products.
- To keep the changes, click Save.
Thank you!
For submitting the form