• Resolved dpkonofa

    (@dpkonofa)


    We have a WooCommerce store with ADP installed and, for some reason, we’re realizing that, on the default WooCommerce install, if a cart is updated to an amount greater than our free shipping zone, free shipping is auto-selected instead of Flat Rate as we have it prioritized higher in the Shipping Zones settings on WooCommerce. If we enable ADP, though, updating the cart to a total that meets the limit *shows* the Free Shipping option but does not auto-select it. Disabling the ADP plugin reverts the behavior and selects it correctly. In either case, people can manually select Free Shipping but I don’t understand why ADP is changing this behavior at all.

    We only have 1 Dynamic Pricing option entered and it doesn’t apply at all to the products we’re adding to the cart when testing this.

    Is this a bug? Is there a workaround? We need the Dynamic Pricing options but we don’t want it messing with Shipping Zones as we want people that qualify for Free Shipping to get it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hello

    Could you share the screenshot of the rule ?

    Please, share the screeshot of section >Pricing Rules>Settings>Shipping too.

    Thread Starter dpkonofa

    (@dpkonofa)

    Here’s is the current rule. For some reason the 2nd part isn’t showing but it works on the front end. I do not have a Shipping section in the Settings for ADP.

    View post on imgur.com

    I’ve also duplicated this behavior on our staging site with no rules enabled.

    Plugin Author algol.plus

    (@algolplus)

    hi

    I’m sorry, tab Settings shows section Shipping only in pro version.

    So during checkout – you see shipping methods listed in same order,
    but Free Shipping is selected?

    if you can – please, submit system report as new ticket to https://algolplus.freshdesk.com/ , visit >WooCommerce>Prcing Rules>Tools to get it.

    thanks, Alex

    Thread Starter dpkonofa

    (@dpkonofa)

    Yes, during checkout we see both options but Free Shipping is not auto-selected when ADP is enabled. If we disable ADP, Free Shipping gets auto-selected, as expected based on the Shipping settings in WooCommerce.

    I’ve submitted the report, as requested.

    Plugin Support thisisirene

    (@thisisirene)

    The solution code:

    
    add_filter('woocommerce_shipping_chosen_method', function ($default, $rates, $chosenMethod) {
        return current( array_keys( $rates ) );
    }, 100, 3);
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Advanced Dynamic Pricing prevents Free Shipping Zone from auto-selecting?’ is closed to new replies.