Page 216 of 296 FirstFirst ... 116166206214215216217218226266 ... LastLast
Results 2,151 to 2,160 of 2956
  1. #2151
    Join Date
    Oct 2020
    Location
    australia
    Posts
    31
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    I tested on php 8.1, worked very well

  2. #2152
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,349
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by markau View Post
    I tested on php 8.1, worked very well
    Thanks for the testing and feedback!

  3. #2153
    Join Date
    Nov 2005
    Location
    France
    Posts
    595
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    There are multiple reasons why the Ajax timeout message could be displayed, so the fact that it's so generic makes tracking an issue a little more difficult.
    I made a few modifications so that the timeout message now gives details of what the timeout relates to.

    includes/languages/English/checkout_one.php

    Find (line 57)
    Code:
    define('JS_ERROR_AJAX_TIMEOUT', 'It\\\'s taking a little longer than normal to update your order\\\'s shipping cost.  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');
    Replace with
    Code:
    define('JS_ERROR_AJAX_TIMEOUT', 'It\\\'s taking a little longer than normal to update your order\\\'s details (General Ajax Timeout error).  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');
    define('JS_ERROR_AJAX_SHIPPING_TIMEOUT', 'It\\\'s taking a little longer than normal to update your order\\\'s shipping cost.  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');
    define('JS_ERROR_AJAX_PAYMENT_TIMEOUT', 'It\\\'s taking a little longer than normal to update your order\\\'s payment method.  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');
    define('JS_ERROR_AJAX_SET_ADDRESS_TIMEOUT', 'It\\\'s taking a little longer than normal to set your order\\\'s address.  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');
    define('JS_ERROR_AJAX_RESTORE_ADDRESS_TIMEOUT', 'It\\\'s taking a little longer than normal to restore your order\\\'s address values.  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');
    define('JS_ERROR_AJAX_VALIDATE_ADDRESS_TIMEOUT', 'It\\\'s taking a little longer than normal to validate your order\\\'s address details.  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');
    define('JS_ERROR_AJAX_RESTORE_CUSTOMER_TIMEOUT', 'It\\\'s taking a little longer than normal to restore your customer details.  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');
    define('JS_ERROR_AJAX_VALIDATE_CUSTOMER_TIMEOUT', 'It\\\'s taking a little longer than normal to validate your customer details.  Please close this message and try again.\n\nIf you continue to receive this message, please contact us.');

    includes/modules/pages/checkout_one/jquery.checkout_one.js

    Find (line 471)
    Code:
     alert( ajaxTimeoutErrorMessage );
    Replace with
    Code:
    alert( ajaxTimeoutShippingErrorMessage );
    Find (line 639)
    Code:
     alert( ajaxTimeoutErrorMessage );
    Replace with
    Code:
    alert( ajaxTimeoutPaymentErrorMessage );
    Find (line 700)
    Code:
    alert(ajaxTimeoutSetAddressErrorMessage);
    Replace with
    Code:
    alert( ajaxTimeoutPaymentErrorMessage );
    Find (line 796)
    Code:
    alert(ajaxTimeoutSetAddressErrorMessage);
    Replace with
    Code:
    alert(ajaxTimeoutRestoreAddressErrorMessage);
    Find (line 860)
    Code:
    alert(ajaxTimeoutSetAddressErrorMessage);
    Replace with
    Code:
    alert(ajaxTimeoutValidateAddressErrorMessage);
    Find (line 959)
    Code:
    alert(ajaxTimeoutSetAddressErrorMessage);
    Replace with
    Code:
    alert(ajaxTimeoutRestoreCustomerErrorMessage);
    Find (line 959)
    Code:
    alert(ajaxTimeoutSetAddressErrorMessage);
    Replace with
    Code:
    alert(ajaxTimeoutValidateCustomerErrorMessage);

    includes/modules/pages/checkout_one/jscript_main.php

    Find (line 33)
    Code:
    var ajaxTimeoutErrorMessage = '<?php echo JS_ERROR_AJAX_TIMEOUT; ?>';
    Add after
    Code:
    var ajaxTimeoutShippingErrorMessage = '<?php echo JS_ERROR_AJAX_SHIPPING_TIMEOUT; ?>';
    var ajaxTimeoutPaymentErrorMessage = '<?php echo JS_ERROR_AJAX_PAYMENT_TIMEOUT; ?>';
    var ajaxTimeoutSetAddressErrorMessage = '<?php echo JS_ERROR_AJAX_SET_ADDRESS_TIMEOUT; ?>';
    var ajaxTimeoutRestoreAddressErrorMessage = '<?php echo JS_ERROR_AJAX_RESTORE_ADDRESS_TIMEOUT; ?>';
    var ajaxTimeoutValidateAddressErrorMessage  = '<?php echo JS_ERROR_AJAX_VALIDATE_ADDRESS_TIMEOUT; ?>';
    var ajaxTimeoutRestoreCustomerErrorMessage = '<?php echo JS_ERROR_AJAX_RESTORE_CUSTOMER_TIMEOUT; ?>';
    var ajaxTimeoutValidateCustomerErrorMessage = '<?php echo JS_ERROR_AJAX_VALIDATE_CUSTOMER_TIMEOUT; ?>';
    @lat9, please consider adding these edits to the master file set, if only to save me having to make them every time I do an update to this great module!

  4. #2154
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,349
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    I've created a tracking issue (https://github.com/lat9/one_page_checkout/issues/312) for the change. Note that my implementation might be a tad different (as always), where I'd split the final common "Please close..." sentence to aid in language translations.

  5. #2155
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: One-Page Checkout [Support Thread]

    Getting the popup

    Please contact the store owner; some required elements of this page are missing.

    Looks like
    zcLog2Console('Missing '+ottotalSelector);
    is firing in includes/modules/pages/checkout_one/jquery.checkout_one.js

    The console says
    Missing #ottotal > div:first-child

    Zen Cart 1.5.7d, Bootstrap template (latest - 3.2.0), One Page Checkout (latest - 2.3.10).
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #2156
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,294
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by swguy View Post
    Getting the popup

    Please contact the store owner; some required elements of this page are missing.

    Looks like
    zcLog2Console('Missing '+ottotalSelector);
    is firing in includes/modules/pages/checkout_one/jquery.checkout_one.js

    The console says
    Missing #ottotal > div:first-child

    Zen Cart 1.5.7d, Bootstrap template (latest - 3.2.0), One Page Checkout (latest - 2.3.10).
    Could it be this? - Bootstrap Template needs 'Order Total, jQuery Selector' changing in Admin.
    Simon

  7. #2157
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,349
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post
    Could it be this? - Bootstrap Template needs 'Order Total, jQuery Selector' changing in Admin.
    Absolutely!

  8. #2158
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: One-Page Checkout [Support Thread]

    Many thanks!
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #2159
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: One-Page Checkout [Support Thread]

    Hmm... now the Check/Money Order radio button can't be selected. I'm logged in as a regular customer, and I removed 'moneyorder' from Guest Checkout: Disallowed Payment Methods. This seems to be just cosmetic because if I click "Confirm Order" at the bottom, it goes through.

    MoneyOrder is the only payment method available. (I think this is what triggers the problem.)
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #2160
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,349
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by swguy View Post
    Hmm... now the Check/Money Order radio button can't be selected. I'm logged in as a regular customer, and I removed 'moneyorder' from Guest Checkout: Disallowed Payment Methods. This seems to be just cosmetic because if I click "Confirm Order" at the bottom, it goes through.

    MoneyOrder is the only payment method available. (I think this is what triggers the problem.)
    Is that single payment auto-selected when using the 3-page checkout?

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR