X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Losing template in some checkout pages (https://forum.x-cart.com/showthread.php?t=48254)

bmjnine 06-24-2009 12:23 AM

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.

bmjnine 06-24-2009 09:34 AM

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!




All times are GMT -8. The time now is 11:24 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.