Will my limit be expired after a certain time?

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce Will my limit be expired after a certain time?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #100905
    Tahir
    Guest

    Hi, I have successfully set up the plugin and its settings. But there is one thing that’s bugging me. I know that product buying limits can be set for users with specific membership, but will they be expired after a certain time. For example I want users with Silver plan to buy maximum 10 products per month. After they buy 10 products in that month they can’t buy more. After the month passes 10 products per month limit should be renewed! How can that be achieved? I have set custom date range to 30 days or “this month”. Will the limits renew after 30 days or “this month” or will that be achieved via shortcode?

    #100906
    Moshtafizur
    Moderator
    Plugin Support

    Hi Tahir,

    Thanks for reaching out to us. If you set the Date range to Last 30 days, the limit will be renewed just after 30 days. For example, if the first order is placed on March 9th, then the limit will be renewed on April 9th. When you select This month as the Date range, the limit will be applied for the current month and reset at the end of each month. If you want the user with a particular membership plan to buy a maximum of 10 products per month, follow these steps:

    1. In the plugin’s settings, go to General > Date range and set it to This month.

    2. Now in the Formula section, you can then use a formula such as:

    [alg_wc_mppu limit="10" membership_plan="silver-plan"]

    The name of the membership plan will depend on your WooCommerce membership setup.

    I hope you found this information beneficial. If you have any questions or need assistance, please contact me.

    #100907
    Tahir
    Guest

    Last Question:
    How to customize messages for users based on their membership. for example, I want to show users with silver membership messages with information about the total products they can buy per month and the products they have bought, While showing different or no messages to users with gold membership? Is there any if-else for these short codes?

    #100908
    Moshtafizur
    Moderator
    Plugin Support

    Hello Tahir,

    Thank you for getting in touch with us. We regret to inform you that you will not be able to display messages based on a user’s membership subscription. However, in the plugin’s settings, if you go to Frontend > Customer message, you can paste messages using the shortcode, such as:

    [alg_wc_mppu_customer_msg bought_msg="If you have a silver membership, your limits are X and if you have a gold membership, your limits are Y. (you've already bought %bought%)." not_bought_msg="If you have a silver membership, your limits are X and if you have a gold membership, your limits are Y."]

    I hope this information was helpful to you. Please get in touch with me if you have any queries or need help.

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