Through the configuration you can set a Magento store into “Demo Mode”. In this mode a banner appears on top of the webshop mentioning that orders will not be fulfilled.
Is there an easy way to test if the store is currently in demo mode or not?
As an extra insurance against accidental visitors I want to disable the checkout process of the webstore in the template if the demo mode has been enabled.
You can check for demo mode with:
or
To switch demo mode on/off in the backend use
System -> Configuration -> Design -> HTML Head -> Display demo store notice -> yes/no.