- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 3 replies, 2 voices, and was last updated 2 years, 8 months ago by Moshtafizur.
- AuthorPosts
- March 22, 2022 at 2:37 pm #100905TahirGuest
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?
March 23, 2022 at 12:23 pm #100906MoshtafizurParticipantHi 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.
March 23, 2022 at 5:42 pm #100907TahirGuestLast 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?March 24, 2022 at 12:19 pm #100908MoshtafizurParticipantHello 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.
- AuthorPosts
- You must be logged in to reply to this topic.