How to add demo store notice to your Magento store?

Sometimes you need to test your Magento 2 shop in the demo mode. But how to make it clear for visitors that you don’t take orders yet? Magento has a built-in notification that you can enable on your frontend:

This is a demo store. Any orders placed through this store will not be honored or fulfilled.

Below we will consider how you can enable or disable the Magento demo store in Magento 2.

Step 1. Log into your Admin Panel.

Step 2. Navigate to Content and select Configuration in the Design block.

Step 3. On the Design Configuration grid, find the needed store view and click on the Edit button.

Step 4. On the opened page, find the HTML Head tab in the Other Settings block and expand it.

Step 5. Scroll to the bottom and find the Display Demo Store Notice line and choose Yes in the dropdown.

Step 6. Don’t forget to save the changes.

To disable demo store notice in your Magento 2, make the same steps, but select No in the Display Demo Store Notice dropdown.

After these changes, you need to clear your browser cache, and you will see the standard notification that your store in in the demo mode on your frontend.

Note: learn what browser cache is, how it works, why you need to enable it for your store, and how to do it from our blog post: Speed up your Magento store: leverage browser caching.

Try the Elasticsearch Extension

Enhance your Magento 2 store's search capabilities with Amasty's Elasticsearch Extension. This powerful tool improves search accuracy and speed, helping your customers find products more easily. Experience seamless integration and increased conversion rates by upgrading your store's search functionality today!

How can we help you?

Didn’t you find the answer to your question? We are always happy to help you out.