Force sum for all variations

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #104215
    David Prinaris
    Participant

    I can’t figure out how to validate the sum of variable products on the cart and block checkout if the total doesn’t meet the min–it lets it right through.

    We sell variable products and we want the validation of all variable quantities to occur on the cart before going to checkout. Ex. we have min set on main product to 10. I want to allow a user to add 5 of one variation and 5 of another, with no Add to cart validation since it doesn’t know the total yet. But if I just add 5 of one variation, it lets me check out with no errors or blocking. So something is not working as intended.

    I have “Sum variations” “Cart notices” (error) and “Block check out” ON. “Add to cart” validation is OFF since again, we want the validation to occur in the cart as there could be multiple “add to cart” actions for each variation to get to the minimum allowed.

    • This topic was modified 1 year, 2 months ago by Omar Dabbas.
    #104216
    WPWhale
    Moderator

    Hi David,

    I’m testing this and it looks there is a case that produces a bug, I will confirm soon with a fix & release.

    Omar

    #104217
    lluis
    Guest

    I have the same issue, is there a solution

    #104218
    WPWhale
    Moderator

    Hi lluis,

    I’m working on it, please give me a day or two to get it fixed, will let you know once I have an update.

    Omar

    #104219
    David Prinaris
    Participant

    Thanks Omar!

    #104220
    WPWhale
    Moderator

    Hi David & lluis,

    Glad to let you know that we’ve just released a new version 2.4 where we introduced a new field to calculate min & max for all variations, so your customers can now mix variations to meet the desired quantity.

    I hope you found this useful, if you still need any help, please let me know, it will also be great if you can leave us a rating if you found the plugin & support useful.

    Omar

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