All Collections
Look and Feel
Managing Pages (X-Cart 5.4.x and earlier)
Editing the Maintenance Page (X-Cart 5.4.x and earlier)
Editing the Maintenance Page (X-Cart 5.4.x and earlier)

Learn how to edit the "The site is temporarily closed for maintenance" page.

Seller Labs avatar
Written by Seller Labs
Updated over a week ago

When your store is in the process of rebuilding its cache, upgrading the core, or installing new add-ons, it is not operational, and your customers see the maintenance page instead:

If you want to provide additional information to help your customers contact you during the rebuild process, you should change the file <X-Cart folder>/public/maintenance.html.

For instance, we will add a phone number below the existing text. The mentioned file has the following HTML tags with text:

public/maintenance.html

<body class="maintenance">
<div class="header"></div>
<div class="container">
<div class="circle"><div id="img" class="img"></div></div>
<div class="title">The site is temporarily closed for maintenance</div>
<div class="text">@MSG@</div>

<!-- that's where you can an additional info -->

</div>
</body>


We will add the line <div class="text">If you have any questions, contact us: 8-800-555-0100</div> to display the phone number. After the change, the above fragment in the file maintenance.html will look as follows:

<body class="maintenance">
<div class="header"></div>
<div class="container">
<div class="circle"><div id="img" class="img"></div></div>
<div class="title">The site is temporarily closed for maintenance</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 necessary information.

After saving this file, the store’s maintenance page will look like this:

Related pages:

Did this answer your question?