Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Changing the default cart closed page
 
Reply
   X-Cart forums > X-Cart 4 > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-02-2005, 06:31 AM
  frankdux's Avatar 
frankdux frankdux is offline
 

Senior Member
  
Join Date: Jul 2004
Location: Manchester, NH, USA
Posts: 125
 

Default Changing the default cart closed page

I am trying to change the default cart closed page by modifying the config.php where it says:
Code:
$shop_closed_file = "shop_closed.html";

I tried to change it to my own page in the following way:
Code:
$shop_closed_file = "my_own_page.php";

For some reason though when I do this (whether my own page is in the X-cart directory or not), my page does not load up. Instead the browser just shows one unformatted sentence: "Sorry, the shop temporarily unaccessible. Try again later." Anyone have an idea what I am doing wrong?
__________________
X-Cart: 4.0.18
Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2
Reply With Quote
  #2  
Old 03-02-2005, 03:02 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: Changing the default cart closed page

Quote:
Originally Posted by frankdux
I am trying to change the default cart closed page by modifying the config.php where it says:
Code:
$shop_closed_file = "shop_closed.html";

I tried to change it to my own page in the following way:
Code:
$shop_closed_file = "my_own_page.php";

For some reason though when I do this (whether my own page is in the X-cart directory or not), my page does not load up. Instead the browser just shows one unformatted sentence: "Sorry, the shop temporarily unaccessible. Try again later." Anyone have an idea what I am doing wrong?

Why not just open up the html page that exists and edit that and be done with it?
__________________
vs 4.1.12
Reply With Quote
  #3  
Old 03-02-2005, 06:32 PM
  frankdux's Avatar 
frankdux frankdux is offline
 

Senior Member
  
Join Date: Jul 2004
Location: Manchester, NH, USA
Posts: 125
 

Default Re: Changing the default cart closed page

Quote:
Originally Posted by markwhoo
Why not just open up the html page that exists and edit that and be done with it?

Because the page needs to be a PHP page so I can use PHP includes.
__________________
X-Cart: 4.0.18
Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:53 PM.

   

 
X-Cart forums © 2001-2020