How to Add CMS Blocks to Categories in Magento 2?

Displaying CMS blocks on category pages has a lot of benefits. You can drive customers' attention to special offers, discounts or news within a particular category.

Besides, it is super easy to add CMS blocks to categories in Magento. However, note that Magento categories dedicate only a certain place on the page for promo banners. 

So if you want your block somewhere other than the top main area, try adding it using widgets.

Add CMS Blocks to Categories in Magento

If you've created categories already, you've probably seen the CMS blocks on the category settings.

1. Navigate to Catalog > Categories and choose the Category you want to display the CMS block on.

2. Select the CMS block you want to add in the Content section.

Magento 2 Add CMS Block to Category

3. Set the Display Mode to Static block only or Static block and products in the Display Settings

Magento 2 Category Display Settings

4. Save a category and check your CMS block on the storefront.

Magento 2 Women Category

Add CMS Blocks to Categories Dynamically

The best promo banners (CMS blocks) target the right people at the right time. What works for one doesn't work for the others. So, if you want to make sure CMS blocks drive attention on category pages, create unique dynamic blocks.

By customer group

One way is to create unique offers for different customer groups to personalize your offer. Simply choose what customer groups to target with this or that block.

e.g. you can offer and display the free shipping banner for general customers or a "sign up and get a free shipping" one for not logged in visitors. 

magento 2 cms block restrictions for customer group

By date

Your offers can't stay valid forever. Some news and promotions always replace others. But you can't be enabling and disabling promo CMS blocks nonstop. 

Instead, set a date, time and day of the week you want CMS blocks to be enabled. This way will just replace one another on autopilot.

magento dynamic blocks date

Don't miss the opportunity to use CMS blocks on Magento category pages. They can bring the results. You have to use them effectively. 

But don't forget that categories are not the only place to show your banners. Use CMS pages as well since you can add CMS blocks there too, using the WYSIWYG editor.