Home > Item #116
I have clicked on the close shop link in the backend as I am currently stocking the shop. The front of the shop then correctly shows that the shop is closed and prevents ordering. However when I return some days later the shop is open again?
The "shop closed" status is stored as an "application variable". This will be reset if the server is rebooted or IIS restarted. The shop will be open after the server has restarted. The shop closing functionality is only intended for closing the shop for a couple of hours or so whilst updates are made.
If you wish to close the shop for longer you could add a closed.htm page (with a we are closed message) in the asp folder and then add the following line to buildpage.asp (after the <% tag)
response.redirect("closed.htm")
To reopen the shop, simply remove or comment out the above line.