Top WooCommerce & WordPress Plugins › Forums › Maximum Products per User for WooCommerce › How can I prevent clients to purchase more than one product at a time?
- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 1 reply, 2 voices, and was last updated 3 years, 1 month ago by
Tom Anbinder.
- AuthorPosts
- October 6, 2020 at 8:45 am #100473
Aurore Guettier
ParticipantHi,
I’ve read the documentation but there is a point I need help with. I’ve seen options like “data range” and “order status” but I don’t really understand how to make it work. I would like to prevent clients to purchase more than one product at a time (from a specific product category).
When the order is complete, (and only when it is complete), I would like the client to be able to order again max 1 product from this category. Is that something achievable with the plugin ?
If it is not, is that possible to prevent clients to purchase more than 1 product from a specific category per month? Kind regards.October 8, 2020 at 10:59 pm #100474Hi Aurore,
Sorry for the late reply.
Here is what you need to do to “… prevent clients to purchase more than 1 product from a specific category per month…”:
1. Enable “Per product category” checkbox in “WooCommerce > Settings > Maximum Products per User > Limits”.
2. Go to “Products > Categories > Your category > Edit” and set “Limit per user” option for that category to the amount you need, e.g. 1.
3. To add a date range (i.e. vs lifetime), you need to set the “Date range” option to either “Last 30 days” or “This month” (depending if you need it to be counted in the last 30 days, or starting from the 1st day of the current month).
Now regarding the “Order statuses” option – this sets when user order should be counted. So, for example, if you leave it at its default value (i.e. “Completed”), then the user will be able to make an unlimited number of orders until you mark any of his orders as completed – then his “quantity already bought” data will be updated, and he won’t be able to make any orders (until “Date range” option expires for him). If you will add all other statuses there (e.g. “Processing”, “Pending payment” etc.), his order will be counted at once. Hope that makes sense.
Now last note – in the latest plugin version 3.3.0 (released just a couple of minutes ago), I’ve added new “Order statuses: Delete” option to the plugin. This will restore, i.e. decrease “quantity already bought” for the user on selected statuses. So generally, such statuses as “Refunded” should be added here. In your case, however (i.e. you want to allow the customer to buy again when order is completed), you may want to add “Completed” order status here.
Hope that helps. Please let me know if you have any questions.
- AuthorPosts
- You must be logged in to reply to this topic.