Go Dark Go Light
2 years or 731 days of full-scale russian invasion of Ukraine

Magento 2 CMS Display Rules Extension

Magento 2 CMS Display Rules is the extension for Magento 2 stores that allows online merchants to restrict the display of CMS Pages and CMS Block for different customer groups, on different dates, days of the week, the exact time during the day and even conditions based on product attributes and shopping cart items and total.

Display Rules is a great marketing tool that helps you run promotional campaigns and personalize content easily, increasing your profit.

  • Display CMS blocks and pages based on customer groups
  • Define the date (period), day and time to display CMS blocks and pages
  • Show CMS blocks based on cart, product, category, and page attributes
  • Show CMS pages based on the shopping cart and product attributes
  • Optimize CMS blocks loading with lazy load and Ajax
  • Display unique CMS blocks for each device: mobile, tablet or desktop
one-time payment
Buy Now Free Trial
Display CMS blocks in Magento based on customer groups or subtotal
Configure the display of CMS blocks based on shopping cart attributes
Magento 2 CMS Display Rules based on weekdays
Live Demo
Compatibility:Magento 2.3.0 - 2.4.7 (CE, EE, ECE, B2B)
hyva compatible
Composer Package

CMS Block Display Rules for Product Pages

Magento naturally allows you to create the CMS Block and display it on all product pages or the specific products set by ID using widgets. This isn't convenient since products constantly change. Do you really want to set new product IDs or edit widgets every time there are new products added?

Magento CMS Display Rules extension helps you to avoid this by setting the CMS block display conditions depending on product attributes such as category, stock status, etc. Set the CMS block display rule one single time and forget about constant manual widget editing.

Magento 2 CMS Block Display Conditions
Conditions for Magento 2 CMS Display Rule

CMS Display Conditions

Do you have any special offers for the customers depending on the shopping cart totals, attributes or cart items? Using Magento 2 CMS Display Conditions you can display certain CMS blocks / CMS pages according to the customer shopping cart state.

With this feature, you can display CMS content to promote your offers, encourage customers to spend more and get a discount or free shipping.

Display CMS Blocks by Category Attribute

When you want to display the CMS block on some category you reply a lot on widget options. Magento 2 CMS Display Rule extension allows you to eliminate the need for constant widget updating and management. You can simply define a category ID and display CMS blocks there. Make the CMS blocks management easier and define what categories you want to display your special offers or news banners on.

Display CMS Block on Category
Display CMS Block in Magento 2 by URL Attribute

Page URL in CMS Block Display Rules

Targeting the right audience is the key to successful marketing. Same with CMS blocks on your store. Their performance directly depends on where, when and whom you display them to. With the CMS Display Rules extension, you can even set the page URL and page URL variables to display CMS blocks. Boost CMS content management with multiple conditions and rule options and benefit from it.

Action Name in CMS Display

The best thing about CMS Display Rule Extension for Magento 2 it is super easy to manage and doesn’t require any special skills. However, do you want to set it more technically? Except for all the stunning conditions this module provides, you can even create a rule based on the page action name. In other words, you can define what page type to display CMS blocks on. This opens up an opportunity for even more flexible and convenient CMS blocks display management.

Display CMS Blocks by Action Name in Magento 2
CMS Block Lazy Loading Magento

Lazy Load CMS Blocks

Our extension helps you make sure the message you pass through CMS blocks gets delivered. If the blocks are too big they might cause a delay in the page loading resulting in an increased bounce rate. Use lazy loading on scroll, Ajax loading on page load or scroll, or let the system define which loading method is the best for you. Reduce the time required to load your CMS blocks and deliver content to your customers faster.

Choose Devices to Display CMS Blocks

With this CMS block restrictions tool, you can not only limit the display of CMS blocks by customers, groups, daters, or other conditions. No, you can also create and enable specific blocks on certain devices. CMS Display Rule extension allows you to choose whether to display a block on mobile, desktop, tablets, or all devices. Target the right audience across all devices and show them personalized information based on the device category.

Display CMS Blocks on Different Devices
Magento 2 Вisplay Rule Day

Customer Group Restrictions

Having different groups of customers it can be quite difficult to manage all the information you want every of this group to see. That’s what CMS Display Rules extension was created for. It facilitates your CMS Page and Block display to different customer groups: General, Wholesale, Retailer, NOT LOGGED IN, etc.

There probably is no special discount information for VIP customers you would like to be shown to not logged in ones. Or let’s say you have some CMS pages for the wholesales only, and don't want to show them to anyone else. These are some of the cases Display Rules module is used in.

CMS Pages and Blocks Display by Date

We all like holidays and any special occasions. It is a great time for online store owners to sell more and increase their profit. CMS Display Rule helps you to define what time do you want CMS Block/Page to be displayed setting the Date From and Date To. This way you no longer need to create CMS blocks and pages enabling and disabling them on the corresponding date. Content will appear and hide automatically according to the settings.

Magento 2 Display Rules Date
Magento 2 Вisplay Rule Day

CMS Pages and Blocks Display by Day of the Week

There are plenty of occasions you might want to offer your customers a discount or to notify them about some special offers on a certain day. Magento 2 CMS Display Rule extension makes it possible. Let your customers know about “Monday’s shipment” on weekends or next day shipment on working days. You can now create not only seasonal but weekly or daily content. Don’t miss that great marketing opportunity.

Make sure it's a good match!

Uncertain whether the Magento 2 CMS Display Rules Extension has all the features you're looking for, or if it aligns with your goals?

Request a free trial Suggest a new feature

Exact Time to Display

Our team went further and thought that it might be convenient for online store owners to be able to control not only the date or the weekday of the CMS content display. CMS Display module enables you to define the very exact time for the static pages or blocks to be shown. Haven’t you been waiting for that kind of extension? With the Magento 2 CMS Display Rules, you will be able to show your customers morning, afternoon and evening content.

Magento 2 Display Rules Time
Magento 2 Display Rules Redirect Page

Redirect to Another CMS Page

Different customers means different things and purposes they come to your website for. Correspondingly, you would have different kind of stuff to offer them. Magento CMS Display Rules plugin can restrict different customers' access to some CMS pages and allows you to set the CMS page to redirect them to in case they do not have access to view.

CMS Block Replacement

The same works with the CMS Blocks. In case there is a block based on different conditions you can set another CMS block to replace it when the customer is not allowed to see it. Display of another block is optional, you can leave it blank to just hide the block.

Magento 2 CMS Display Rules Redirect Block

Is Magento 2 CMS Display Rules Extension compatible with FPC and Varnish Cache? 

Yes, it is.


What happens to the page cache (varnish) in case of the specific time or display conditions? Are you cleaning all the cache?

No, we do not clear the cache. If there is the specific time or conditions for the CMS block display, then block content is not included in the main response, but loaded via Ajax using JavaScript. In this case, all customers see proper content and the website speed isn't affected.


Will the CMS Display rules work if a block is added through .phtml template, layout XML or admin panel WYSIWYG?

Yes, it will work in each case. The extension has observers before the output of the CMS block and CMS block widget. That is why it works not depending on a method the block was added on a page.


Can I install your Magento 2 CMS Display Rules module via the composer?

Yes, you can. All our modules can be installed via the composer. Once you purchase the extension, you receive keys to the private Magefan composer repository and find the composer installation commands available in the "My Downloads" section.

People Also Searched For
  • customer group restrictions extension
  • customer group restrictions extension for magento 2
  • magento cms extension
  • customer group restrictions magento 2 extension
  • magento 2 customer group restrictions extension
  • magento 2 cms rule extension
  • magento 2 special promotions
  • cms display rules in magento
  • cms display rules extension magento 2
  • magento 2 cms display rules conditions
  • magento 2 cms page display rule
  • cms display rules conditions magento
Quick Overview Video

Your promotional campaigns are going to be more effective with Magento 2 CMS Display Rule extension since it really simplifies the CMS blocks and pages display. Target only the right audience with your offers defining customer group, date, day of the week, and exact time the CMS block or the page is shown. Moreover, you can limit the display of CMS pages or blocks and set conditions based on product or shopping cart attributes.

Watch this short video to learn about how to create CMS Display Rule in Magento 2.
Related Products
Magento 2 Better Order Grid Extension
Better Admin Order Grid
one-time payment
Magento 2 SEO Extension
one-time payment
Magento 2 Guest to Customer
Guest to Customer
one-time payment
Magento 2 Coupon Code Extension
Coupon Code
one-time payment
Magento 2 Auto Related Products Icon
Auto Related Products
Special Price FREE Regular Price $149
one-time payment
Magento 2 Extended Product Grid
Extended Product Grid
one-time payment
What our
clients say

It is very refreshing to work with a company that responds so quickly and goes beyond the customers' expectations!

Patrice Malenke
Brands Who Trust Us
Magento 2 CMS Display Rules Extension
Live Demo