Hi John,
It took me a little longer than expected, but I’ve finally managed to add max quantity on per user basis to the plugin.
I’ve implemented it a bit differently this time. In new v2.3.0 I’ve added new “Formula” section to the plugin settings (in “WooCommerce > Settings > Maximum Products per User > Formula”). After enabling this section, you need to set “Formula” option to something like this:
[alg_wc_mppu_max_qty max_qty="10" user_id="1"]
[alg_wc_mppu_max_qty max_qty="20" user_id="2"]
Here you need to replace 1
with the actual user ID of “user A”, and 2
with user ID of “user B”.
You can find more formula examples on the plugin settings page, for example, you can set max quantity on per user per product basis.
Please let me know if something is not working as expected or if you have any questions.
P.S. “Max Quantity by Formula” is available in Pro version only.