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

Checkout middle of page blank

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-22-2004, 10:44 AM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default Checkout middle of page blank

I have been doing some editing of my templates but I have yet to touch any of the checkout templates. Well in any case people can add to thier shopping basket fine, but once they click the checkout button it displays everything but a blank middle so I assume the checkout template is not being called.

I went in and tried to restore checkout.tpl, cart.tpl and a few other related templates but it hasn't made a difference.

What file is responsible for this?
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #2  
Old 10-22-2004, 10:55 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Maybe a problem in your cart.php and/or home_main.tpl
Reply With Quote
  #3  
Old 10-22-2004, 10:59 AM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

I haven't edited my cart.php file. So home_main is used by the checkout process as I have modified it heavily.
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #4  
Old 10-22-2004, 11:01 AM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

Quote:
Originally Posted by macker123
I haven't edited my cart.php file. So home_main is used by the checkout process as I have modified it heavily.

I just restored the home_main file. It made no difference. Any other ideas?
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #5  
Old 10-22-2004, 01:06 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

What x-cart version?

It's possible that the main variable is incorrect.

Open your home_main.tpl and find where the cart is called. Put text after the if statement, before the include, and see if that part is being read correctly. If the page shows the text you put there, then you know that the problem is in the actual template file being called, and nothing prior to that.
Reply With Quote
  #6  
Old 10-22-2004, 01:18 PM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

Using version 4

I put text in the following and neither show up:

{elseif $main eq "anonymous_checkout"}
checkout anony?
{include file="customer/main/anonymous_checkout.tpl"}

{elseif $main eq "checkout"}
checkout logged in?
{include file="customer/main/checkout.tpl"}
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #7  
Old 10-22-2004, 01:26 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Is it when you go to cart.php or cart.php?mode=checkout

The two files there only occur when mode=checkout, otherwise your opening up the cart itself.
Reply With Quote
  #8  
Old 10-22-2004, 01:28 PM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

Quote:
Originally Posted by Jon
Is it when you go to cart.php or cart.php?mode=checkout

The two files there only occur when mode=checkout, otherwise your opening up the cart itself.

When I goto:
cart.php?mode=checkout

I get the blank page.
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #9  
Old 10-22-2004, 01:33 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Ok, in the very, very top of your home_main.tpl put:

MAIN: {$main}

If it doesn't return anything, the problem is that your cart.php is not assigning the main variable.
Reply With Quote
  #10  
Old 10-22-2004, 02:12 PM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

I just found out I get the same issue when I try:
search.php?mode=search
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > 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 03:25 PM.

   

 
X-Cart forums © 2001-2020