How can I exclude some products from the limit?

Top WooCommerce & WordPress Plugins Forums Order Minimum/Maximum Amount for WooCommerce How can I exclude some products from the limit?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #93056


    I need to create a minimum order of 22 pieces in the total cart (products in different categories), except on some products that do not have a minimum quantity.

    How can I do?

    If I define a minimum of the total pieces in the cart, I cannot exclude some products or categories from this check.

    Thank you




    It is not possible to restrict the number of items in the cart as a whole. It is possible to limit per product, per user, per category, per product tag, per shipping zone, per payment gateway, etc.

    However, there is a workaround for your situation.

    You will first need to create a new category and add all the products that you want the limit for to this new category. For Example, let’s call it Category “ABC”

    Then you would go to the plugin’s setting and set up as follows:

    General tab > Amount Limits > Minimum
    General tab > Amount Types > Quantity
    Products tab > Enable > Per Product Category

    Save the settings.

    Then go to Products > Categories > ABC and edit the category. Define the minimum as 22.

    Now users will need to purchase a minimum of 22 products from category ABC.

    If you want to exclude products or categories from the Minimum limits, In the Plugin’s settings, go to the Cart Products tab, Enable the section and add the relevant products for exclusion.

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