Knowledgebase

Home > Item #116

When I close the shop, I check back later and find that it has been opened again.

Item: #116
Date: 25 Jan 2002
Applies to
v4

Question

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?

Answer

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.

Can't find the answer you need? Click here to open a support ticket.

« Back