Page 1 of 1

[vQmod] - Faster Re-Checkout

Posted: Fri Jul 29, 2011 3:25 am
by Qphoria
This is and will be for 1.4.x only! The concept does not apply to 1.5.x

So by default, when you click the "checkout" button in the header, or from the cart page, or from the cart sidebox, it always links you to checkout/shipping.
From there you goto checkout/payment
From there you goto checkout/confirm

If you get to checkout/confirm, and click "checkout" in the header.. it takes you back to checkout/shipping and you have to go through all the steps again, but your current selection is already in the session, so it pre-selects it for you again.

Similarly, if you get to the checkout page... click home.. and then click checkout again.. you have to go through all the steps, but again the current selection is in the session.

The code is also smart enough on the checkout/confirm page to know if the shipping and payment sessions are set or not. If they are not set, then it will take you to the correct page.

So, instead of going to checkout/shipping from the checkout button.. it makes more sense to link directly to checkout/confirm and let the code take you to the correct page, only if necessary. This way if the shipping and/or the payment are already selected, it will take you right to the confirm page.

Obviously if the cart changes, the session is cleared so it will take you through the full checkout process again.. but if you don't change anything in the cart, there is no point in it asking you again. So this speeds that part up.

Just drop the xml file into your vQmod/xml folder

Re: [vQmod] - Faster Re-Checkout

Posted: Thu Aug 04, 2011 1:22 am
by meagain121
Should this work when checking out as guest? (I am redirected to https://xxxx.com/index.php?route=account/login when trying to checkout after confirming shipping method as a guest).

(v. 1.4.8b)

Re: [vQmod] - Faster Re-Checkout

Posted: Thu Aug 04, 2011 1:48 am
by Qphoria
meagain121 wrote:Should this work when checking out as guest? (I am redirected to https://xxxx.com/index.php?route=account/login when trying to checkout after confirming shipping method as a guest).

(v. 1.4.8b)
Ah yea.. i forgot about guests.. ok i'll update it

Re: [vQmod] - Faster Re-Checkout

Posted: Thu Aug 04, 2011 2:11 am
by Qphoria
Ok updated to work with guest and regular checkout

Re: [vQmod] - Faster Re-Checkout

Posted: Thu Aug 04, 2011 6:00 pm
by meagain121
I am still being directed to https://xxxx.com/index.php?route=account/login. :-\

It seems to break when using another vqmod (store_add_items_to_cart_via_url.xml) so I have removed the Faster Re-Checkout vqmod for now.

Hopefully there is a way to use both?

Re: [vQmod] - Faster Re-Checkout

Posted: Fri Aug 05, 2011 2:09 am
by Qphoria
There is no conflict between these scripts.
I have them both working perfectly here:
Im guessing your browser is caching the original xml scripts because you already have it downloaded.. delete them from your download folder, clear your browser cache, and try again

Re: [vQmod] - Faster Re-Checkout

Posted: Wed Oct 19, 2011 12:02 pm
by uqmeng
Why not work members login in check
1.4.9.6