Jump to content

Custom Store Offline Message


Guest Brandon!

Recommended Posts

Guest Brandon!

I'm trying to create a nice "Sorry, this store is currently offline" type message. In admin I see the Offline Settings, and everything works fine. My only complaint is that only the message is returned and I can't seem to make a valid XHTML page out of it. There is a file I found called closed.inc.php, but this file doesn't seem to be called. I searched through the code and I wasn't even able to find where offlineContent is called (the only instances are /admin/ and the closed.inc.php file).

I basically want to wrap it in a HTML page and include some default styling. Can anyone give me some input on how to customize the message?

Link to comment
Share on other sites

Guest Brandon!

Thank you. That's nice that you can just throw a static page up there. Are there any variables that can be called from that page? I am trying to allow for a customer "store offline" message (configurable through admin), but I want it to be pretty. It does not necessarily have to be using the store's layout, but basic markup and XHTML valid would be nice.

Link to comment
Share on other sites

Don't know what kind of CubeCart ]variables[ you would like to use in STORE OFF LINE page.

offline.php

offline.htm

offline.html

are very suitable to write a valid XHTML page as the build-in message ability does not have any html header/foter code thus no html page result.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...