| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Step by step checkout? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Step by step checkout?
Hey everyone,
I am still looking for a way to create a step by step checkout process. It just dawned on me that this might be possible doing something like this. My first category will be http://companyname.com/home.php?cat=1 When the customer clicks add to cart, I would like them to be redirected to http://companyname.com/home.php?cat=2 then to cat=3 and so on. Is there some code that will do a +1 to the cat number? I have about 5 pages I would like this to happen on. On the last page, it should just take them to the shopping cart to checkout. I am using the BCSE multiple add mod if that makes any difference.
__________________
Version 4.1.9 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Step by step checkout?
Hm, I don't use BCSE multiple add mod and I don't know how this `add to cart` function is realized in. But I can tell you simple logic: when you click add2cart you go to cart.php?mode=add and after product is added you redirecting to cart.php via func_header_location function. You should change cart.php and check, if referrer contains 'cat' variable and this variable is less then 5 then you should redirect customer to home.php?cat=$cat+1 (of course, $cat - extracted variable from referrer). Else (cat is equal 5) you should redirect customer to cart.php?mode=checkout.
I'm not write code sample because you have installed module I'm have not.
__________________
Regards, Anthony Holub X-Cart Skins Store - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
#3
|
|||||||
|
|||||||
Re: Step by step checkout?
Thanks for that information Holub.
BCSE actually still uses buy_now.tpl in conjunction with its own .tpl file I tried adding what you said to add, but no luck so far. I will mess with it a little bit more.
__________________
Version 4.1.9 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Step by step checkout?
Main sense is not in templates but in modifyed cart.php. Please post in this thread your code changes - I'll try to help you.
__________________
Regards, Anthony Holub X-Cart Skins Store - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
#5
|
|||||||
|
|||||||
Re: Step by step checkout?
I have reverted back to my original cart.php file.
I didn't realize how many instances of "cart.php?mode=checkout" are in cart.php and I'm not exactly sure which part is calling to what. Can you show me which code would check the referrer? Smarty is still a foreign language to me.
__________________
Version 4.1.9 |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Step by step checkout?
No, you should find
Code:
__________________
Regards, Anthony Holub X-Cart Skins Store - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
#7
|
|||||||
|
|||||||
Re: Step by step checkout?
BCSE didn't modify my cart.php file
__________________
Version 4.1.9 |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Step by step checkout?
Therefore please see program logic of cart.php from line 215 to line 277 - there the place I talking about.
__________________
Regards, Anthony Holub X-Cart Skins Store - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
#9
|
|||||||
|
|||||||
Re: Step by step checkout?
Can anyone code this for me at a reasonable cost? I have been trying for the last week to figure this out but I am having absolutly no luck.
__________________
Version 4.1.9 |
|||||||
#10
|
|||||||||
|
|||||||||
Re: Step by step checkout?
Doesn't x-cart use a step-by-step process for checkout by default? Even the Fast Lane Checkout does this in a more graphic manner. Maybe you could modify Fast Lane to get what you are after. In most instances (if not all) it is better to eliminate the number of "steps" it takes to make a purchase. That is the main purpose of the BCSE multiple add mod, to let the customer add multiple items to their cart without have to go back and add more. There is a single-step checkout mod that I have seen, but forget where
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
|||
X-Cart forums © 2001-2020
|