Quote:
Originally Posted by carpeperdiem
Roll Call:
WHO has xMobile working with Altered Cart Checkout_One?
What did you do to get C1 as primary checkout for customers not yet logged in?
I have C1 loading for registered customers -- but for anons or $login eq "", C1 doesn't load, and instead I see the 1st (ugly) page of FLC.
If you integrated Altered Cart Checkout One with xMobile, please let me know.
|
I dug deep into the code and variables and learned the following:
1. IF not logged in, xMobile set the variable of $checkout_step = 0, which then bypassed Checkout_One
2. IF logged in, xMobile sets the $checkout_step = 3, so Checkout_One loads.
This was the key to solving this...
in file:
/common_files/modules/Fast_Lane_Checkout/home_main.tpl
Checkout_One requires an edit, inserting the C1 include... it always came AFTER
{elseif $checkout_step eq 0}
{include file="modules/Fast_Lane_Checkout/checkout_0_enter.tpl"}
BUT -- since xMobile sets $checkout_step=0 for $login eq "", this busted checkout one's ability to load if not logged in!
Solution is to call Checkout_One include
BEFORE the {elseif $checkout_step eq 0}
Works fine in both desktop and xMobile.
I'm counting on all of you xMobile users to start sharing some tips -- it's a wonderful template, but there are many variables-- let's keep sharing our solutions and results, ok?