SilverStripe Shop module to temporarily close the shop.
Add-on module for SilverStripe shop that allows the shop to be temporarily closed with a message. Useful, for example, when taking a break from selling online.
composer require plumpss/silverstripe-shop-closed-message
This module adds closed option and message fields to
SiteConfig under Settings > Shop > Shop Closed.
ClosedMessage wherever you'd like the message to appear. If the shop is not closed, nothing will be output. For example, in the main template
<body> <div class="header"> ... </div> <% include ClosedMessage %> <div role="main"> ... </div> </body>
If you do not want to allow orders to be placed, replace the use of
$Form in your product page template with an include of
<% include FormOrClosedMessage %>
You can create your own versions of
FormOrClosedMessage.ss in your theme's
templates/Includes directory for complete control of the markup.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem