How can I set it so that if user goes over limit, he has to buy more membership?

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?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #100445

    Hi 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?



    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.


    suppose 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.

    Tom Anbinder
    Plugin Support


    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.