Re: One-Page Checkout [Support Thread]
Traveling at the speed of volunteer:P
I just jumped in to answer because lat9 was gracious enough to work with me on a site with problems and it seemed as if she is tied up elsewhre.
Her volunteering to help me in the midst of all her other work was of tremendous value.
Since I am not the author, I can't post or commit the Pull request.
I'm sure that lat9 will handle the situation as soon as is possible.
One thing to note, these were warnings that did not necessarily stop the processing of orders.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
dbltoe
If you are getting those issues, you are not using the files from github. Go to
https://github.com/lat9/one_page_checkout, click on the Green CODE button and download the zip.
There are some changes in the admin files that need to be made for WebPay to work with some shipping modules AND some changes in files inside the includes folder to fix the var_export problem.
The errors you reported were fixed with
the fix for #328 and ARE included in the download zip file.
You can fix the third var_export
mentioned in the Pull Request either before or after you upload all the files. If you don't do the fix, you will get yet another var_export error for line 784 of includes/cllasses/observers/class.checkout_one_observer.php.
You can just overrite the existing files on your site and it wil work fine.
I am still getting issues with the 'Save Changes' button on two websites, can you help?
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Nick1973
I am still getting issues with the 'Save Changes' button on two websites, can you help?
Please define the "issues". Don't show up, can't cllick on them, etc.
Need to know to help.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Nick1973
Right well this is obviously where I am getting confused and other people will get confused. So obviously this needs putting in 'Plugins' asap really as not everyone is aware they will exist there. Now I know which ones I should be using, I will go and get them though.
It's easier for you to just go on one of the sites and see for yourself.
There is a product set up called 'Test' here
https://businesscardprinting.uk
Add it to the cart and try to fill out some details then 'Save Changes'
You will see what happens.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Nick1973
It's easier for you to just go on one of the sites and see for yourself.
There is a product set up called 'Test' here
https://businesscardprinting.uk
Add it to the cart and try to fill out some details then 'Save Changes'
You will see what happens.
I just tested this link above. I added the "test" item to the shopping cart, then go to guest checkout. Fill in my contact info and shipping address, then "Save Changes" button doesn't work on my side. I can still click it, but no function afterwards. No error shows up, no pop-up. I tested with chrome. No adblock is installed. Not sure if you can find some log files on the admin page for my test.
I just installed the latest version v2.4.0 one week ago and I don't have this issue. I guess this type of strange issue may either related to the server side (like php incompatible), or maybe you have not uploaded correct/complete files to your server, or maybe some conflicts with other plug-ins you installed. If I were you, I will re-upload all the plug-in files to the server and see how it works. I'm not a professional developer. That is just my thought.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
njcyx
I just tested this link above. I added the "test" item to the shopping cart, then go to guest checkout. Fill in my contact info and shipping address, then "Save Changes" button doesn't work on my side. I can still click it, but no function afterwards. No error shows up, no pop-up. I tested with chrome. No adblock is installed. Not sure if you can find some log files on the admin page for my test.
I just installed the latest version v2.4.0 one week ago and I don't have this issue. I guess this type of strange issue may either related to the server side (like php incompatible), or maybe you have not uploaded correct/complete files to your server, or maybe some conflicts with other plug-ins you installed. If I were you, I will re-upload all the plug-in files to the server and see how it works. I'm not a professional developer. That is just my thought.
Already done it, I develop sites anyway so I will probably get onto it at some point soon. I am in the middle of another project at the minute. I have two sites where this issue is happening, and I don't think it is PHP as I have other sites with the same set up running on PHP7.4 where OPC is working. I am not sure at the minute, might be a JQUERY issue from the previous install got left over. I have already tried installing it again and get the same issue on two sites. There are some log files so I am hoping, with a bit of help, I should be able to get to the bottom of it.
Re: One-Page Checkout [Support Thread]
You're receiving a 404-Not Found when trying to Save the guest customer's address. Are you sure that the file /includes/classes/ajax/zcAjaxOnePageCheckout.php is present?
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
You're receiving a 404-Not Found when trying to Save the guest customer's address. Are you sure that the file /includes/classes/ajax/zcAjaxOnePageCheckout.php is present?
yes it is there Cindy
On this path /includes/classes/ajax/zcAjaxOnePageCheckout.php
On the two sites that are affected
Re: One-Page Checkout [Support Thread]
I've just submitted v2.4.1 for the Zen Cart moderators' review.
This release contains changes associated with the following GitHub issues:
#123: Correcting login page layout when the 'PayPal' block is not the first.
#325: Correct PHP Warning when a shipping module reports errors.
#326: Session messages were 'lost' during the checkout_one_confirmation page's processing.
#327: Logged-in customers' ship-to address set by the shipping-estimator weren't being used.
#328: Correcting PHP warnings due to var_export complaining about circular references.
#329: Use JSON.parse instead of the (deprecated) jQuery.parseJSON; correct HTML validation issues.
#330: Use zen_country_zones to gather any country-specific 'zones'.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Nick1973
yes it is there Cindy
On this path /includes/classes/ajax/zcAjaxOnePageCheckout.php
On the two sites that are affected
Well, there's something else going on in the site. Perhaps check the .htaccess files. If that class-file is present, there's something specific to those sites that is resulting in that 404 ... which is ultimately preventing OPC's AJAX calls from working.