| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Easy Checkout Mod for X-Cart 3.5.x and 4.0.x | ||||
|
|
Thread Tools |
#271
|
|||||||
|
|||||||
Quote:
What tracking code am I looking for here? Nothing in the home.tpl stands out to me as marketing manager code.
__________________
X-Cart Gold 4.1.8 |
|||||||
#272
|
|||||||||
|
|||||||||
Look for the track.js code.
|
|||||||||
#273
|
|||||||
|
|||||||
Ok, I found it.
My track.js is referenced in bottom.tpl. It is called up in home.tpl using the { include file="rectangle_bottom.tpl" } tag.
__________________
X-Cart Gold 4.1.8 |
|||||||
#274
|
|||||||||
|
|||||||||
You'll probably have to add the track.js to skin1/customer/home_checkout.tpl also.
In your browser open up your cart.php with the ez checkout layout. View your source and see if it contains the track.js. If not added it to the file mentioned above. |
|||||||||
#275
|
|||||||
|
|||||||
Nice mod Jon... I liked it so much, I built my own I don't need a tracking code or any of the other upgrades I've read in this thread though because I basically just rearranged the cart. I built it in v4.09 and it checks out in three steps. I wouldn't have had the inspiration if it wasn't for you though, thank you!
|
|||||||
#276
|
|||||||
|
|||||||
Do we get a preview before you live live GM
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#277
|
|||||||
|
|||||||
I am live...
|
|||||||
#278
|
|||||||||
|
|||||||||
Jon,
Purchased the mod today and I've followed all instructions. I am able to do an anonymous checkout with no problem but when I try to log in to complete an order I get this error (both from home.php login and checkout area: Parse error: parse error, unexpected T_ELSE in /usr/home/birdshop/public_html/xcart/include/login.php on line 204 I am using Version 4.0.5 and this is what my login.php looks like that I am supposed to change but it doesn't look the same as in the instructions. You have: if ($login_type == "C" || $login_type == "B") { if (!func_is_cart_empty($cart)) { func_header_location($redirect_to."/cart.php"); I have: if ($login_type == "C" || $login_type == "B") { if (!func_is_cart_empty($cart)) { if(strpos($HTTP_REFERER, "mode=auth") === false) { func_header_location($redirect_to."/cart.php"); Can you tell me what I need to change to make the login work for registered users? Please advise, Louise BirdShopper.com
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#279
|
|||||||||
|
|||||||||
After reading back through the posts I found and tried this code for login.php and it works
if ($login_type == "C" || $login_type == "B") { if($redirect2 == "checkout") func_header_location($redirect_to."/cart.php?mode=checkout"); elseif (!func_is_cart_empty($cart)) { if((strpos($HTTP_REFERER, "mode=auth") === false) && (strpos($HTTP_REFERER, "mode=checkout") === false)) { func_header_location($redirect_to."/cart.php"); Thanks, Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#280
|
|||||||||
|
|||||||||
Just a public THANKS to Jon for coming to my aid!
Thanks again Jon! Louise http://www.birdshopper.com
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
|
|||
X-Cart forums © 2001-2020
|