Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,152
- Plugin Contributions:
- 56
Post #1661 by lat9
jeking:
Wiping out the guest-related record was the culprit. Running the query did the trick. Thank you!! :clap:
You're very welcome.
Administrator
jeking:
Wiping out the guest-related record was the culprit. Running the query did the trick. Thank you!! :clap:
You're very welcome.
Totally Zenned
I have zen cart version 1.5.5f using the 'Shipping by Quote' module (https://www.zen-cart.com/downloads.php?do=file&id=1224). I installed version 2.3.2 of the OPC module and 'Shipping by Quote' module doesn't show as one of the shipping methods when OPC is enabled. I displays ok with OPC switched off.
Is there something specific I need to do to enable non standard shipping methods to display? I read through the readme file and didn't see anything related to custom shipping options.
Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions
Administrator
strelitzia:
I have zen cart version 1.5.5f using the 'Shipping by Quote' module (https://www.zen-cart.com/downloads.php?do=file&id=1224). I installed version 2.3.2 of the OPC module and 'Shipping by Quote' module doesn't show as one of the shipping methods when OPC is enabled. I displays ok with OPC switched off.
Is there something specific I need to do to enable non standard shipping methods to display? I read through the readme file and didn't see anything related to custom shipping options.
I just took a cursory look at that shipping method and, given its changes to the checkout_shipping page's processing and formatting, I'll guess that an integration is *possible *but it's going to require custom coding/merging of OPC and that shipping method.
Zen Follower
Zen Follower
frank18:
Installation details are in the docs which comes with this module. To activate / deactivate it you do that in Admin > Configuration > One-Page Checkout Settings > Enable One-Page Checkout? - set to True or False (also described in the docs).
I installed a fresh website and selected the responsive template, uploaded the Checkout one page and I get the same Jscript error and it doesnt work. Tried deleting min file in jscript folder whats wrong?
index.php?main_page=checkout_shipping:22 A parser-blocking, cross site (i.e. different eTLD+1) script, https://code.jquery.com/jquery-3.4.0.min.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
Just thought, I did install Paypal is that not compatible?
PHP Version: 7.2.31 (Zend: 3.2.0)
Zen Cart 1.5.6c
Database Patch Level: 1.5.6
Administrator
That console message is associated with the template's rendering (normally in the /common/html_header.php) and has nothing to do with OPC.
When you say that it doesn't work, what is ***it ***and how does it not work?
Zen Follower
Thanks for the quick reply, I really appreciate it. It doesnt append the default checkout phase from three to one page. Also cant see it in the config admin menu. Maybe I copied the wrong console errors as well, there quite a lot in there and read earlier about a similar problem.
I was just about to post this as well dont know if it helps?
[16-Jun-2020 17:11:38 UTC] Request URI: /index.php?main_page=checkout_shipping, IP address: whatever
#1 OnePageCheckout->initializeGuestCheckout() called at [/home/xxx/public_html/includes/classes/OnePageCheckout.php:473]
#2 OnePageCheckout->reset() called at [/home/xxx/public_html/includes/classes/OnePageCheckout.php:437]
#3 OnePageCheckout->resetGuestSessionValues() called at [/home/xxx/public_html/includes/classes/observers/class.checkout_one_observer.php:37]
#4 checkout_one_observer->__construct() called at [/home/xxx/public_html/includes/autoload_func.php:79]
#5 require(/home/xxx/public_html/includes/autoload_func.php) called at [/home/xxx/public_html/includes/application_top.php:170]
#6 require(/home/xxx/public_html/includes/application_top.php) called at [/home/xxx/public_html/index.php:26]
--> PHP Warning: Use of undefined constant CHECKOUT_ONE_ENABLE_REGISTERED_ACCOUNTS - assumed 'CHECKOUT_ONE_ENABLE_REGISTERED_ACCOUNTS' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/includes/classes/OnePageCheckout.php on line 361.
Zen Follower
there is noting in the config table, I followed the install to the tee and clicked on "Admin home" to install which seemed weird in the first instance.
Zen Follower
What is the SQL to add to the config table so I can add it manually?
Sorted, I refresed it one more time and clicked the admin home 3 times and then it loaded the SQL, just some dodgy "plug n pray" crap my end no bug.
Administrator
ink:
What is the SQL to add to the config table so I can add it manually?
Sorted, I refresed it one more time and clicked the admin home 3 times and then it loaded the SQL, just some dodgy "plug n pray" crap my end no bug.
Weird, refreshing the admin (or clicking "Admin Home") should have kicked in the plugin's admin initialization script. You'll need to enable OPC via its configuration settings for the 3-page-checkout to revert to a 1-page-checkout.
Zen Follower
Just wanted to say a BIG THANKYOU for this one, great job its Awesome!
Totally Zenned
This is installed on a 1.5.5e Zen Cart. The theme is from Template Monster (yes, I know. Not my choice.)
The problem is upon checkout when entering invalid credit card data (Authorize.net (AIM)) there is no error returned to the shopper. The one-page ends up reloading. Using the default checkout the error was appear: http://prntscr.com/t2runn
In trouble shooting, I'm not even seeing the error in the message stack: https://prnt.sc/t2r9ct
The only messages in the console relate to a pinterest error.
Jim
Wheaton Website Services
Administrator
jeking:
This is installed on a 1.5.5e Zen Cart. The theme is from Template Monster (yes, I know. Not my choice.)
The problem is upon checkout when entering invalid credit card data (Authorize.net (AIM)) there is no error returned to the shopper. The one-page ends up reloading. Using the default checkout the error was appear: http://prntscr.com/t2runn
In trouble shooting, I'm not even seeing the error in the message stack: https://prnt.sc/t2r9ct
The only messages in the console relate to a pinterest error.
What version of OPC? There are/were (to my remembrance) a couple of messageStack-related changes that were needed to ensure that the (er) messages were carried over on the various OPC redirects
Totally Zenned
lat9:
What version of OPC? There are/were (to my remembrance) a couple of messageStack-related changes that were needed to ensure that the (er) messages were carried over on the various OPC redirects
Ah, that little detail. It's 2.3.2.
Jim
Wheaton Website Services
Administrator
Did you copy the required core-file changes for that older version of Zen Cart: https://github.com/lat9/one_page_checkout/blob/master/pages/install_upgrade_v210_or_later.md
That message_stack.php update is included in the instructions for copying.
Are there template-overrides for the OPC pages present in the TM-template's directory? If so, does reverting to the responsive_classic template correct the issue?
Totally Zenned
lat9:
Did you copy the required core-file changes for that older version of Zen Cart: https://github.com/lat9/one_page_checkout/blob/master/pages/install_upgrade_v210_or_later.md
That message_stack.php update is included in the instructions for copying.
Well, um....I missed this step somehow. Files are now copied and message stack and error are displaying as intended. Thank you for the excellent support!
Jim
Wheaton Website Services
Administrator
jeking:
Well, um....I missed this step somehow. Files are now copied and message stack and error are displaying as intended. Thank you for the excellent support!
No problems, that's why I created that documentation ... so that I can remember!
Administrator
I've just submitted v2.3.3 of One-Page Checkout for the Zen Cart moderators' review and will post back here when it's available for download.
This release contains changes associated with the following GitHub issues and has been validated with the newly-minted Zen Cart 1.5.7:
[#258](https://github.com/lat9/one_page_checkout/issues/258): Save-to-address-book checkbox missing on shipping address.
#259: Signed-in customer, change to 'gender' not saved in database.
#260: zc157 integration, the login form's name is changed.
#261: Address' state dropdown, error when zone-name includes single-quotes (thanks, @chenly).
#263: Additional notifications for address-related handling.
#264: Account for possible loss of session.
New Zenner
receiving this error
The One-Page Checkout plugin has been disabled. The file ".../public_html/includes/templates/lite_red/jscript/jscript_framework.php" is required for the plugin's proper operation.
Administrator
Tell staff why this post should be reviewed.