• Resolved kundun12

    (@kundun12)


    Hello,

    I would like to know if there is a solution to disable the plugin for some products or product categories.

    Indeed, even if I do not configure anything in the product in the tab “Tiered pricing”, by default the minimum quantity is set to 1. But I need to be able to define a quantity in the cart to 0. And this minimum is used in controls such as “woocommerce_update_cart_validation”.

    Do you have a solution for me?

    Regards

Viewing 1 replies (of 1 total)
  • Plugin Author WP Developer

    (@bycrik)

    Hello @kundun12 ,

    You can disable handling minimum quantity by the following filter:

    add_filter('tier_pricing_table/addons/min_quantity_active', '__return_false');

    You can add your own conditionals to disable it for specific products/categories;

    Hope this helps

Viewing 1 replies (of 1 total)
  • The topic ‘Desactivate all functions for a product category’ is closed to new replies.