This article describes the steps to add a CMS block on all category pages, or just some specific category pages. You can also use this guide for adding CMS blocks on any pages.
Step 1. Create a CMS Block. If you already have the CMS block created, skip this step.
Step 2. Add the HTML in the Content section.
Step 3. Create a new widget.
Step 4. Select the widget type CMS Static Block, and the active theme, or you can choose any type form the list.
Step 5. Set the Widget title, and select on which website, store, or store view you want this widget to appear.
Click Add Layout Update, and select the type of category you want the widget to be displayed on.
You can add multiple layout updates, to display the same widget on multiple types of pages.
Step 6. Select the container where the widget will be displayed. You can insert custom content in any container from your Magento store available in the list below.
Step 7. Go to Widget Options and click Select Block.
Step 8. Select the block that contains the product description.
Step 9. After the block is selected, click Save, clear all caches and check the frontend. Below you can see the frontend result of the example above.
Thanks for the great "how to".
If I only want the CMS block to show on the first page of a category and not show on the subsequent pages, can that be achieved through Magento Admin without custom development?
Probably some customisation is necessary based on pagination.
Why not use an infinite scroll to solve this easier?
Can we use a static block using this method to show child categories and the images for the child categories?
how to add one block into another block as link using anchor tag in magento 2.3
after installing theme on localhost some page links on theme not working properly what should have to do and how to import database of theme while doing theme installation onlocallhost using magento 2.3
Please sign in to leave a comment.