Sunday , May 5 2024
Home > Magento Tips & News > Magento 2 Tutorials > Store Settings > Magento 2 Demo Store Notice: A Comprehensive Guide

Magento 2 Demo Store Notice: A Comprehensive Guide

Magento 2 demo store notice

So, you’re halfway to setting up your Magento storefront branding, which includes uploading your logo and changing the welcome message. This blog will continue to give you all knowledge about the Magento 2 demo store notice. What is it? Why do we need it? How to enable/disable it from the backend? And how to change the text of the notice? All of these questions will be answered right below. Let’s get started!

Why We Need a Demo Notice in Your Stores?

Magento 2 demo store notice is a built-in notification with the default content:” This is a demo store. No orders will be fulfilled.” The message will be displayed whenever you switch your store to the demo mode. It helps you clarify to your customers that your store will not process any orders in the meantime. 

The design and style of the demo notice may vary depending on your store theme.

Typically, Magento 2 store owners display the message when:

  • The store is under construction
  • They want to test their store’s functionality after installing
  • They want to test their stores in the demo mode
Magento 2 demo store notice

As we have some clues about Magento 2 demo store notice, let’s see how we can enable/disable it from the backend!

Enable and Disable Magento 2 Demo Store Notice

Step 1: Navigate to Content > Design > Configuration

Content >> Design >> Configuration

Step 2: Choose the Wanted Store View to Enable and Disable the Magento 2 Demo Store Notice

In the grid, choose a store view you want to apply the settings. For example, I will choose the France store view. Click Edit in the Action column:

Choose a store view | Magento 2 store demo notice

Step 3: Span Other Settings > HTML Head

After that, you will navigate to the design config page of the France store view. Span Other Settings >> HTML Head section:

Soan Other Settings >> HTML Head | Magento 2 store demo notice

In the field “Display Demo Store Notice,” choose Yes/No to enable/disable it as your preference. 

Step 4: Click Save Config

After that, click Save Config in the upper right corner to save your configuration:

Click save config | Magento 2 store demo notice

Step 5: Refresh Cache

You need to refresh the cache to see the changes. From the admin panel, navigate to System > Tools > Cache Management:

System >> Tools >> Cache Mangement | Magento 2 store demo notice

Then, in the cache management grid, tick Configuration. Be sure the action is Refresh and click Submit:

Refresh cache | Magento 2 store demo notice

Now, the customers from the storefront will see a demo notice of your store, like this:

See the notice from the frontend

That’s it. Now you can tell the way to enable/disable the demo notice. Let’s move on to the section: how to change the text of this message.

Other blogs you may be interested in:
Magento 2 Two-Factor Authentication: A Good Way to Protect Magento Store
How to Disable 2FA in Magento 2.4 Using Command Lines
How to Configure Magento 2 Admin Session Lifetime

Change the Magento 2 Demo Store Notice

Sometimes, you want to customize the demo message to make the most out of them. Changing its content helps you convey your message better as well as improve the communication with your customers. 

Magento requires you to manually edit your theme’s file because you can not make configuration from the admin panel. First and foremost, copy file from

vendor/magento/module-theme/view/frontend/templates/html/notices.phtml

Then, put it to:

app/design/frontend/Vendor/YourTheme/Magento_Theme/templates/html/notices.phtml

Afterward, change the notice content “This is a demo store. No orders will be fulfilled.” at line 67 with your prefered message.

Run below command lines to deploy static content:

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean

Fine-tuning Your Magento Store With Magezon Robust Extensions

In a nutshell, I hope you took a firm grasp of Magento 2 demo store notice. In addition to this, there are still many other areas of improvement a Magento 2 store owner should consider.

Visit our website to see the affordable and best-in-class Magento 2 extensions to maximize your revenue.

Optimize Your Magento Store With Powerful Extensions

Looking for fast, efficient and well-coded extensions to build or optimize your Magento stores for sales boosting? Then visit Magezon website and grab necessary add-ons for yours today!

About Laura Cao

Laura Cao
Laura graduated from Foreign Trade University with a bachelor’s degree in Business English and is currently serving as a content marketer at Magezon. She indulges in reading and writing everything about Magento. In her spare time, gardening and hanging out with friends are her area of interest.

Check Also

how-to-change-magento-2-default-store-view-01

How to Change Magento 2 Default Store View

In this blog, we’ll guide you through how to change Magento 2 default store view …

Leave a Reply