• Resolved emanuelemn

    (@emanuelemn)


    Hello,
    My products are by category.
    I want certain categories to be the minimum quantity of 6 products.
    and in other categories the minimum canteen should be 1 product.

    But it does not work my site.
    I tried and it doesn’t work in your demo either.

    Thank you

    • This topic was modified 3 years, 10 months ago by emanuelemn.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello Emanuelemn,

    Thanks for contacting us.

    In our plugin minimum quantity of 6 products is working fine.

    There is only an issue if you add Min and Max both as 1.

    Please do the below change to make it work.

    File path: “plugins\min-and-max-quantity-for-woocommerce\public\class-mmqw-for-woocommerce-public.php”

    Line no: 312

    From: if ( isset( $max_qry ) && $min_qty < $max_qry ) {

    To: if ( isset( $max_qry ) && $min_qty <= $max_qry ) {

    Please apply the above changes and let us know how it works.

    Best Regards,
    Hitendra & Dotstore Team

    Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello Emanuelemn,

    Hope you are doing well and from the above solution, your query gets resolved.

    Also, we have that changes in our latest version so you can also upgrade it and test it.

    If still, you have any queries then you can create a new thread.

    Best Regards,
    Hitendra & Dotstore Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Maximum Per Category Do Not Work’ is closed to new replies.