E-Commerce User Guide : Appendix D: How to redirect E-Commerce shopping cart visitors/guests when the site is down for maintenance
 
Appendix D: How to redirect E-Commerce shopping cart visitors/guests when the site is down for maintenance
 
Siriusware Inc. often gives clients the following warning when performing an E-Commerce update:
 
Warning: It is best to perform the web pages update when traffic is minimal to nonexistent at your web site, if at all possible. You may find it helpful to redirect visitors/guests to a page informing them that the site is down for maintenance during this time.
 
This document provides instructions for creating a web page that informs your online shoppers that the site is down for maintenance and how to redirect them to this page.
 
Note: that these instructions for redirecting shoppers to the “maintenance” page only apply to links that take the shopper to the default shopping cart page (e.g., https://www.myresort.com/E-Commerce/). If you use links that redirect shoppers to specific item or item tree nodes (e.g., https://www.myresort.com/ECommerce/itemList.aspx?node_id=39975), please see the end of this document for further instructions on redirecting visitors/guests from those links to the maintenance page.
Create an html page that says the site is down for maintenance and save it to the same folder where the E-Commerce pages are running (typically C:\Inetpub\wwwroot\E-Commerce) with the name app_offline.htm. The following is a sample HTML page that you can use and modify for your web site.
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
<html>
<head>
<title>System down for maintenance</title>
<link href="Siriusware.css" type="text/css" rel="stylesheet">
</head>
 
<body>
<div id="container">
<img src="images/SWStar_ecommerce_780x48.gif" alt="Siriusware E-Commerce" width="780" height="48" border="0">
<p class="body">Siriusware's E-Commerce Shopping Cart is currently offline for maintenance. Please check back soon as we hope to have the site back up shortly. Sorry for the inconvenience.</p>
<img src="images/SW_logo_spsolns_160x80.jpg" alt="Siriusware Salespoint Solutions" width="160" height="80" border="0">
</div>
 
</body>
</html>
 
When you are finished with the site maintenance and you want your regular E-Commerce shopping cart back up and running you just need to rename the app_offline.htm to something else, like app_offline.htm.old.