Skip to main content

design:demo-notice

info

This command enables or disables the demo store notice in Magento for a specific store view, globally, or for the default scope. The demo store notice is a banner displayed at the top of the storefront, typically used to indicate that the store is running in demo mode.

Usage

n98-magerun2 design:demo-notice [options] [--] [<store>]

Arguments

ArgumentDescription
storeStore code or ID

Options

OptionDescription
--onSwitch on
--offSwitch off
--globalSet value on default scope
--helpDisplay help for the command

Examples

tip

Enable the demo notice for all store views:

n98-magerun2 design:demo-notice --on --global
tip

Disable the demo notice for a specific store view:

n98-magerun2 design:demo-notice --off default
tip

Enable the demo notice for store view with code "de":