
and Pages are a great contribution to your marketing strategy. They allow you to display or hide certain static pages from different customer groups. But these are not the only conditions under which you can use to make your CMS pages display dynamically.
In this guide, you'll learn how to enable dynamic pages in Magento and display them under different conditions.
Step 1: Create CMS Page
It's important to note that dynamic pages are not created automatically. They just define how, when and under what conditions to display a page. So create a Magento CMS page first. Then find the Display Conditions and Display Rules sections under a corresponding page (Content > Pages).
Step 2: Split Page Cache by Device (optional)
If you want to improve the performance of your pages, configure the caching options for them.
For that, go to Stores > Configuration > Magefan Extensions > Dynamic Blocks and Pages > Advanced Settings and enable the Split Built-in Full Page Cache option. Then also specify the Split Routes.
![]()
Step 3: Create Conditions
You may have various pages on your store, with different information aimed at different customers. However, you may also need to display them under different conditions.
Enable dynamic page based on cart attributes
Use cart attributes, like subtotal, shipping country etc, to define whether certain customers can access a certain page.
e.g. encourage customers whose subtotal is more than $1000 to become premium members.
![]()
Enable dynamic pages based on product attributes
The same works for product attributes. You can make a page accessible depending on the product people are browsing.
e.g. Include a link to the special promotions page for people who browse products that are on sale or sale category.
![]()
Step 4: Fill out Display Settings
Except for conditions, you also need to make sure dynamic pages in Magento are visible for the right people at the right time.
Choose customer group
Customer segmentation helps you to provide personalized discounts, show unique content blocks, blog posts and certainly pages to different customers.
e.g. you might want to share some information with wholesalers only on a separate CMS page.
![]()
Set date
To make sure your page is visible for certain customers at the right time, specify the Date From/To, Days of the Week and Time From/To.
![]()
Choose another page to display
Finally, if you don't want customers to stumble upon a 404 page, just because it's not visible for them, Display Another Page instead. People will be redirected to another page if trying to access one that's not available to them.
![]()
Don't forget to hit Save once you finish setting up the dynamic pages in Magento.
Showing personalised content makes you stand out from the competitors and allows you to maximise your marketing efforts. Just learn how to use it effectively. And don't forget that the same works if you want to enable dynamic blocks in Magento.