Custom allowed quantities (not based on step)

Top WooCommerce & WordPress Plugins Forums Min Max Default Quantity for WooCommerce Custom allowed quantities (not based on step)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #103946
    Adam
    Guest

    Can this plug allow you to customize the quantities of a product that a customer can add to their cart? For example, I want a customer to be able to add 1, 2, or 4 of an item, but not 3.

    • This topic was modified 6 months, 3 weeks ago by blankOmar.
    #103947
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi Adam,

    Unfortunately I don’t think it’s possible at the moment. You could set minimum quantity to 2, step to 2 and maximum quantity to 4, but that would make quantity of 1 invalid. I could try to add this to the plugin, but I’m not sure how would admin set allowed quantities… I mean would listing all valid quantities as comma separated text (I mean by admin) would be good enough, e.g.: 1,2,4? And do you need this on per product basis (i.e. different for each product) or these quantities would be applied to all your shop’s products?

    #103948
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    We’ve just released new plugin version 1.5.0. After you update, you will find new “Exact Quantity” options section (in “WooCommerce > Settings > Product Quantity”). This should do exactly what you’ve described, i.e. set allowed or disallowed quantities as a comma-separated list, e.g. 3,7,11.

    Please let me know if something is not working as expected.

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