I've set it up so that a registered b2b user may only buy a minimum quantity of 10 items per product, but I can easily add just 1 or 2 and checkout, which should not happed. Here are the screenshots:
This is a variable product, so the user must be able to add a minimum of 10 items, in any combination of variations. So perhaps the user wants to buy 3x Red, and 7x Yellow. Therefore we cannot force a minimum of 10 for adding to cart.
However, if the user tries to checkout, and the total purchased across all variations is less than 10, the user will get an error when trying to checkout.
Hello, thanks for the reply. Since we have to do that for all variable products of a single category, is there a way to do it in bulk? It's about 20 varied products with 6 variations each
Hello, i've setup a dynamic MOQ rule as described here
https://woocommerce-b2b-plugin.com/docs/how-to-set-different-minimum-order-thresholds-for-different-users-in-woocommerce/
but it doesn't seem to be working properly.
I've set it up so that a registered b2b user may only buy a minimum quantity of 10 items per product, but I can easily add just 1 or 2 and checkout, which should not happed. Here are the screenshots:
Hi George,
This is a variable product, so the user must be able to add a minimum of 10 items, in any combination of variations. So perhaps the user wants to buy 3x Red, and 7x Yellow. Therefore we cannot force a minimum of 10 for adding to cart.
However, if the user tries to checkout, and the total purchased across all variations is less than 10, the user will get an error when trying to checkout.
Kind regards,
Stefan
Ah, I see. Can I restrict the user somehow into getting 10 of each variation and not 3 of X and 7 of Y?
I think that would work, if you select each individual variation like in the next image:
In that case, the plugin should force the 10 minimum for each variation.
Hello, thanks for the reply. Since we have to do that for all variable products of a single category, is there a way to do it in bulk? It's about 20 varied products with 6 variations each
Hmm, dynamic rules can be imported in bulk via REST API, but it is a complicated process. I think it would lose you more time than it would save.
I'm afraid I think the best solution is probably adding the rules manually.