Results 2,191 to 2,200 of 3052

Threaded View

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by niccol View Post
    I am working on a site that has very slow shipping methods. (it makes sense because they are shipping very heavy things by freight and get specific quotes)

    So, when I change an address manually, the opc-overlay is made active. When I chose a stored address from the dropdown it is not. This means that while the quotes are being received, the customer can hit the checkout button. Which causes issues.

    At about line 700 in jquery.checkout_one.js I have a fix in

    Code:
           // -----
        // Monitor the billing- and shipping-address blocks for changes.
        //
        jQuery(document).on('change', '#select-address-bill', function(event) {
            jQuery('#checkoutPayment > .opc-overlay').addClass('active');
            useSelectedAddress('bill', this.value);
        });
        jQuery(document).on('change', '#select-address-ship', function(event) {
            jQuery('#checkoutPayment > .opc-overlay').addClass('active');
            useSelectedAddress('ship', this.value);
        });
    Not sure if this is the appropriate way of doing it or not ...

    (or maybe I am missing something)
    niccol, it's appropriate ... I'll need to do a more thorough review of the other processing path (i.e. where a different shipping method is chosen) to see if there's anything else that needs to be added.

    GitHub tracking issue: https://github.com/lat9/one_page_checkout/issues/316
    Last edited by lat9; 6 Apr 2022 at 12:53 PM.

 

 

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