When you close the storefront for maintenance purposes, the visitors of your store site see the default "Storefront is closed" page instead:
The storefront can be closed using the storefront status toggle at the top of any page in the store's Admin area:
X-Cart 5.5.x:
X-Cart 5.4.x and earlier:
If you want your store's "Storefront is closed" page to provide additional information to help your customers contact you while the store is closed, you should edit the file <X-Cart folder>/public/closed.html
.
For instance, we will add a phone number below the existing text.
The mentioned file has the following HTML tags with text:
public/closed.html
<body class="closed">
<div class="header"></div>
<div class="container">
<div class="circle"><div class="img"></div></div>
<div class="title">Storefront is closed</div>
<div class="text">@MSG@</div>
</div>
</body>
We will add the <div class="text">If you have any questions, contact us: 8-800-555-0100</div>
line to show our phone number. After the change, the above fragment in the file closed.html will look as follows:
<body class="closed">
<div class="header"></div>
<div class="container">
<div class="circle"><div class="img"></div></div>
<div class="title">Storefront is closed</div>
<div class="text">@MSG@</div>
<div class="text">If you have any questions, contact us: 8-800-555-0100</div>
</div>
</body>
Similarly, you can add links to your social accounts, images or any other info you find necessary.
After saving the file, the "Store is closed" page will look like this:
Related pages: