Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    I've just submitted v2.3.8 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:

    #291: zc158 compatibility, adding global $languageLoader;.
    #292: Using global $db; instead of $GLOBALS['db'].
    #293: Re-organize the checkout_one page's language file, grouping all jQuery-based constants as an aid in language translations.
    #294: Correct "disappearing taxes" when a store's country has zones and the tax-basis is 'Store'.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I've just submitted v2.3.8 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:

    #291: zc158 compatibility, adding global $languageLoader;.
    #292: Using global $db; instead of $GLOBALS['db'].
    #293: Re-organize the checkout_one page's language file, grouping all jQuery-based constants as an aid in language translations.
    #294: Correct "disappearing taxes" when a store's country has zones and the tax-basis is 'Store'.
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

  3. #3
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    I searched but did not find any mention of this error. After entering the address and clicking update, I get this:

    jquery.checkout_one.min.js?1598622382:5
    Uncaught TypeError: Cannot read property 'length' of null

    Zen Cart 1.5.7a
    OPC 2.3.4
    jQuery 1.7.1 (it's an old template)

    Thanks.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    I searched but did not find any mention of this error. After entering the address and clicking update, I get this:

    jquery.checkout_one.min.js?1598622382:5
    Uncaught TypeError: Cannot read property 'length' of null

    Zen Cart 1.5.7a
    OPC 2.3.4
    jQuery 1.7.1 (it's an old template)

    Thanks.
    That's going to be a bit difficult to isolate, since it's the minimized jQuery file, but I'm guessing that it's got to do with that very, very woefully old version of jQuery. I'll need to review the jQuery base requirements for OPC's jQuery processing and will most likely provide an update that disallows the OPC processing if the current jQuery version is prior to that minimum-version requirement.

  5. #5
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    That's going to be a bit difficult to isolate, since it's the minimized jQuery file, but I'm guessing that it's got to do with that very, very woefully old version of jQuery. I'll need to review the jQuery base requirements for OPC's jQuery processing and will most likely provide an update that disallows the OPC processing if the current jQuery version is prior to that minimum-version requirement.
    If it will be helpful, I can switch to the unminimized version and report back.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    If it will be helpful, I can switch to the unminimized version and report back.
    Thanks, @jeking, that would help pinpoint where the issue is.

  7. #7
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Thanks, @jeking, that would help pinpoint where the issue is.
    I switched to the uncompressed 1.12.4 and here is the full console log

    jquery.checkout_one.min.js?1598622382:5 setFormSubmitButton, payment-module: null
    jquery.checkout_one.min.js?1598622382:5 Showing "confirm"
    jquery.checkout_one.min.js?1598622382:5 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.min.js?1598622382:5 jQuery version: 1.12.4
    jquery.checkout_one.min.js?1598622382:5 saveCustomerInfo, starts ...
    index.php?main_page=checkout_one&zenid=eh8g36jjbg0uhqlfqplgu0ham6:58 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
    jquery.checkout_one.min.js?1598622382:5 Uncaught TypeError: Cannot read property 'length' of null
    at Object.<anonymous> (jquery.checkout_one.min.js?1598622382:5)
    at fire (jscript__jquery.min.js:3232)
    at Object.fireWith [as resolveWith] (jscript__jquery.min.js:3362)
    at Object.deferred.<computed> [as resolve] (jscript__jquery.min.js:3461)
    at Object.success (index.php?main_page=checkout_one&zenid=eh8g36jjbg0uhqlfqplgu0ham6:66)
    at fire (jscript__jquery.min.js:3232)
    at Object.fireWith [as resolveWith] (jscript__jquery.min.js:3362)
    at done (jscript__jquery.min.js:9840)
    at XMLHttpRequest.callback (jscript__jquery.min.js:10311)

    FYI, I get the same error (Uncaught TypeError: Cannot read property 'length' of null) when using 3.6.0

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg