![]() |
One-Page Checkout - Warning user to click APPLY
*** CODE UPDATED TO SUPPORT PRE JQUERY 1.7 ***
Hi guys, I have found that a number of users have ended up not proceeding with orders because they didn't realease they had to click the APPLY button on the One Page Checkout page [Ajax checkout]. Essentially they would enter there name and address, then try enter their payment details by clicking on the "Credit Card" radio button. As you'd be aware, if someone hasn't clicked APPLY at the bottom of the name/address area, they can't select payment or shipping options etc. My users would get confused and leave. I found this out when one user called me. I have modified X-Cart to generate a popup alert if the user attempts to click on anything in the Payment/Shipping area. Previously nothing would happen if they would try click in this area. 1> Open the file /skin/common_files/modules/One_Page_Checkout/ajax.checkout.js 2> Go to line ~590 and find the following function: Code:
ajax.widgets.checkout.obj.prototype.disableCheckout = function() { Change it to read [note the new code inserted]: Code:
ajax.widgets.checkout.obj.prototype.disableCheckout = function() { 3> Look immediately below that function, and find the following function: Code:
// Widget :: enable checkout sections and button after profile change Change that code to read [note the new line inserted] Code:
// Widget :: enable checkout sections and button after profile change Hope this helps. |
Re: One-Page Checkout - Warning user to click APPLY
That is a good one. Many customers are confused and leave because of the way XC OPS works
|
Re: One-Page Checkout - Warning user to click APPLY
If people would prefer, I could make it so that the Center and right columns were not visible until the user clicked "APPLY". What do you guys think?
|
Re: One-Page Checkout - Warning user to click APPLY
It would have been way better actually if this page was in vertical up->down order instaed of horizontal left->right. If you hide the columns until info is entered there will be empty wasted space which is not looking good.
This is just another area (along with the address book) that needs a complete overhaul by QT |
Re: One-Page Checkout - Warning user to click APPLY
Quote:
|
Re: One-Page Checkout - Warning user to click APPLY
Quote:
|
Re: One-Page Checkout - Warning user to click APPLY
I added this and now the message applies even after applying address information. It now shows up when picking shipping, making payment, etc.
|
Re: One-Page Checkout - Warning user to click APPLY
Did you insert the line:
$('#opc_shipping_payment').off('click'); |
Re: One-Page Checkout - Warning user to click APPLY
Yeah,
I definitely added both lines (and just deleted them). I had a customer tell us that the site just kept asking her to "APPLY" even though she already did. Had to remove the cose because it was causing more confusion to the already-confusing OPC. :) |
Re: One-Page Checkout - Warning user to click APPLY
You must have had something wrong with that line. That second line removes the onclick handler from the Shipping / Payments division. Shame you removed it, you should have cut and paste the code here
|
All times are GMT -8. The time now is 10:14 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.