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

Losing template in some checkout pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-24-2009, 12:23 AM
 
bmjnine bmjnine is offline
 

Member
  
Join Date: Nov 2008
Posts: 11
 

Default Losing template in some checkout pages

Since I upgraded to 4.2.x, I am not longer getting a full page template on some of the checkout pages. I'm not sure if it happened with 4.2 or 4.2.1 since I did them right after one another. It worked in the previous version 4.1.1.

When you get to the first Checkout page ("Step 1 of 2" -- /cart.php?mode=checkout) with the cart summary and user registration form, the template displays fine with HTML/BODY tags, header, footer, etc. But if I click on "If you already have an account, please login from here." (which goes to /cart.php?mode=auth), that login page has a broken template (no beginning HTML/BODY tags or header). The source starts with "<div class="dialog">...". It does have the footer and closing BODY/HTML tags, though. The same thing happens if I am logged in, and am on the Payment page ("Step 2 of 2"-- /cart.php?paymentid=1&mode=checkout).

Any ideas on what I should check?

Thanks.
__________________
x-cart gold version 4.1.11
Reply With Quote
  #2  
Old 06-24-2009, 09:34 AM
 
bmjnine bmjnine is offline
 

Member
  
Join Date: Nov 2008
Posts: 11
 

Default Re: Losing template in some checkout pages

I also tried turning Fast Lane Checkout on to see if that helped. It did help in that now all checkout pages are in the template/skin. However, the header (my modified head.tpl) always appears at the bottom, after the main content, and before the footer.

I checked /skin1/modules/Fast_Lane_Checkout/home.tpl, and sure enough, the template reads:

<div id="center-main">...</div>
...
<div id="header">
{include file="customer/head.tpl"}
</div>
<div id="footer">
{include file="customer/bottom.tpl"}
</div>
...

Is that how it is supposed to be? If so, what is the purpose of that structure, just so I can understand...

Thanks in advance!


__________________
x-cart gold version 4.1.11
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 12:15 AM.

   

 
X-Cart forums © 2001-2020