Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
linuxguy2
Upps...More issues:
When on the checkout page clicking the "Save Changes" button under any circumstances generates one of these errors for every entry in the address form.
Code:
[03-Mar-2019 03:53:05 UTC] PHP Notice: Undefined index: countries_iso_code_2 in /home/pcsnnets/public_html/156a/includes/classes/order.php on line 451
[03-Mar-2019 03:53:05 UTC] PHP Notice: Undefined index: countries_iso_code_3 in /home/pcsnnets/public_html/156a/includes/classes/order.php on line 451
[03-Mar-2019 03:53:05 UTC] PHP Notice: Undefined index: entry_country_id in /home/pcsnnets/public_html/156a/includes/classes/order.php on line 452
[03-Mar-2019 03:53:05 UTC] PHP Notice: Undefined index: address_format_id in /home/pcsnnets/public_html/156a/includes/classes/order.php on line 453
Phew, that one took a bit of investigation! Corrected via this (https://github.com/lat9/one_page_checkout/issues/169) GitHub issue.
The problem was that when neither Guest Checkout nor Registered Accounts were enabled, the plugin's observer no longer monitored the address-related notifications. When a customer changed their address to a temporary one, the temporary address was not being filled into the order's billing and/or shipping blocks.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
I've created a GitHub PR (Pull Request), providing a correction for those issues.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
I've created a GitHub PR (Pull Request), providing a correction for those issues.
Thanks for the update.
Have done lots of testing today while building out my production site and nothing new has popped op.
I have not tested with any other types of payment or shipping.
Thank You for your time and expertise!!!!
Re: One-Page Checkout [Support Thread]
Hi, I have what seems to be a minor bug to report. I'm running OPC 2.0.5 and ZC 1.5.6a, with the latter's shipping module set to Zone Rates. In guest checkout, when I enter a billing address in one country, then uncheck the shipping=billing box and enter a shipping address in another country, the shipping charge quite rightly changes to the amount for the second country. BUT, if I then change my mind and re-click the shipping=billing box, the shipping charge remains stuck at the amount for the second country. (Note that this glitch does NOT happen if I log into an account instead of doing guest checkout.) Anyway, I realize the situation is one that will almost never arise in real life, but it came up while I was putting the plugin through its paces, so I thought you would want to be aware of it. In any event, thank you for designing a very useful product!
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
archelaus
Hi, I have what seems to be a minor bug to report. I'm running OPC 2.0.5 and ZC 1.5.6a, with the latter's shipping module set to Zone Rates. In guest checkout, when I enter a billing address in one country, then uncheck the shipping=billing box and enter a shipping address in another country, the shipping charge quite rightly changes to the amount for the second country. BUT, if I then change my mind and re-click the shipping=billing box, the shipping charge remains stuck at the amount for the second country. (Note that this glitch does NOT happen if I log into an account instead of doing guest checkout.) Anyway, I realize the situation is one that will almost never arise in real life, but it came up while I was putting the plugin through its paces, so I thought you would want to be aware of it. In any event, thank you for designing a very useful product!
archelaus
On the OPC admin page if you have "Enable One-Page Checkout Debug? Full" you should be getting PHP notices/errors in the Logs. (Two places System root / and your cart root.)
You may already be aware of this but OPC is being update. You might review some of the latest unreleased fixes for 1.5.6a noted here.
https://github.com/lat9/one_page_checkout
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
archelaus
Hi, I have what seems to be a minor bug to report. I'm running OPC 2.0.5 and ZC 1.5.6a, with the latter's shipping module set to Zone Rates. In guest checkout, when I enter a billing address in one country, then uncheck the shipping=billing box and enter a shipping address in another country, the shipping charge quite rightly changes to the amount for the second country. BUT, if I then change my mind and re-click the shipping=billing box, the shipping charge remains stuck at the amount for the second country. (Note that this glitch does NOT happen if I log into an account instead of doing guest checkout.) Anyway, I realize the situation is one that will almost never arise in real life, but it came up while I was putting the plugin through its paces, so I thought you would want to be aware of it. In any event, thank you for designing a very useful product!
Thanks for the report! I've noted the issue on OPC's GitHub repository and will investigate later this week.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
linuxguy2
archelaus
On the OPC admin page if you have "Enable One-Page Checkout Debug? Full" you should be getting PHP notices/errors in the Logs. (Two places System root / and your cart root.)
You may already be aware of this but OPC is being update. You might review some of the latest unreleased fixes for 1.5.6a noted here.
https://github.com/lat9/one_page_checkout
The code changes are the easy part!:blush:
The hard part with v2.1.0 for OPC is documenting the process that you'll need to use when updating, as the majority of OPC's core/template file changes are now included in the zc156/zc156a (and to-be-released zc156b) distributions. I'm trying to create an overall set of procedures to be used when updating or performing an initial install for Zen Cart versions prior to zc156b ... it's kind of like "putting Humpty Dumpty back together again"!
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
linuxguy2
archelaus
On the OPC admin page if you have "Enable One-Page Checkout Debug? Full" you should be getting PHP notices/errors in the Logs. (Two places System root / and your cart root.)
You may already be aware of this but OPC is being update. You might review some of the latest unreleased fixes for 1.5.6a noted here.
https://github.com/lat9/one_page_checkout
Thanks, linuxguy2!
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Thanks for the report! I've noted the
issue on OPC's GitHub repository and will investigate later this week.
Glad to help. Thanks again!
Re: One-Page Checkout [Support Thread]
OPC 2.0.5 and ZC 1.5.6a. I hate to waste people's time with something I should be able to figure out by myself, but I'm stumped. In guest checkout, the customer's billing address is pre-filling with the state/province listed for the store in Configuration>My Store and the zip code listed for the store in Configuration>Shipping/Packaging. I'm okay with it defaulting to USA, but I'd like state and zip code to be blank. I'm not seeing anything in Configuration>One-Page Checkout Settings, and the code in tpl_modules_opc_address_block.php is over my head. Thanks in advance!