Top WooCommerce & WordPress Plugins › Forums › Maximum Products per User for WooCommerce › How can I set it so that if user goes over limit, he has to buy more membership?
- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 3 replies, 3 voices, and was last updated 3 years ago by
Tom Anbinder.
- AuthorPosts
- September 12, 2020 at 4:41 am #100445
Kawsar
GuestHi there
I have using the plugin for a long time. but now I want that after exceeding the maximum limit a user needs to buy memberships for more.
how can I do that?September 15, 2020 at 10:43 pm #100446WPFactory Support
KeymasterHi,
Sorry for the late reply.
Not sure if I understood it correctly. Do you mean that you have set max limit for all users now, and you want to set different limits for users with memberships? If that’s the case, you will need to additionally enable our “Formula” section (in “WooCommerce > Settings > Maximum Products per User > Formula”), and set it to something like:
[alg_wc_mppu limit="10" membership_plan="silver"] [alg_wc_mppu limit="15" membership_plan="gold"]
Please let me know if I misunderstood you.
September 16, 2020 at 3:29 am #100447Kawsar
Guestsuppose there is a gold member on my site his membership length is 30 days and his limit to buy 30 products.
And I want that after reaching 30 products his membership will expires automatically, no matter how long his membership length remains.
How can I do that.September 16, 2020 at 7:35 pm #100448Hi,
Unfortunately, I don’t think our plugin can cancel membership at the moment. I could try to implement it, but to be honest, I’m not sure which “WooCommerce Memberships” plugin function should I call to cancel membership for a user. Will be looking into it more…
P.S. I’m not sure if this will help, but some of our plugin’s users were using the membership subscription start date as a date to start counting products from. I.e. instead of checking the last 30 days, the plugin will check how many products did user buy since his membership subscription start date. If that’s something that may help you, let me know, and I’ll help you with setting this up on your site.
- AuthorPosts
- You must be logged in to reply to this topic.