• Resolved stender89

    (@stender89)


    If I add a product on sale in the cart, then the selection of shipping has a bug.

    I set the rules to follow subtotal after discounts, and those are the rules that are displayed on the cart, but I can’t switch between them – I have a rules that states that the shipping method is up to 749kr after discount, but if the regular price is above that, then the shipping method just defaults to the first one.

    It is like it thinks that the shipping method is not available for selection, even though it is being displayed.

    Everything is updated to the last version.

    • This topic was modified 2 months ago by stender89. Reason: Clearer subjectline

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dan

    (@dangoodman)

    It looks like the following happens:
    – The user selects the after-discount shipping option, which triggers the cart update.
    – The cart is re-calculated without discounts applied, which makes the after-discount rule unavailable. So, the user selection is reset to the first available shipping option.
    – The cart is re-calculated again, but now with discounts applied.

    Are you using a third-party plugin for discounts?

    Thread Starter stender89

    (@stender89)

    We have an active discount plugin, but no rules are active on the products in question – The pricing and discount is just set in the normal WooCommerce “sales price” method on the product.

    It seems to only happen when the sum of regular price exceeds the weight based rules subtotal price limit. But that limit should listen to the subtotal of the cart, and not the regular price.

    Plugin Author Dan

    (@dangoodman)

    It is worth checking what happens if you temporarily disable all other plugins and switch to the default theme. After that, get things back one at a time until you notice the issue is here again. This way, you can find the culprit.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.