- Support forum for the Maximum Products per User for WooCommerce.
October 15, 2022 at 12:06 am #101076FlintGuest
Hi. I have a questions about lifetime quantity limits. I have two products for raffle ticket sales. Product 1 is one ticket for $20 and product 2 is a group of 6 tickets for $100. These are sales of physical tickets that will be hand filled out with customer’s information and snail-mailed to the customer. Problem is I need to set lifetime ticket sales limit per customer account. Side question: Do they need to create an account prior to first-time checkout? Or can first-time customers checkout and the quantity is stored and updated then?
There will be a lifetime limit of 12 tickets per customer account and a minimum of 1 ticket on any purchase. Example, is if they buy 1 of each product, that would give them 7 tickets, 1 group of 1 and one group of 6 tickets. If they logged in later and wanted to buy more, the system needs to calculate that they only have 5 left leaving them to get quantity of 1-5 more tickets of the 1 ticket product. If they bought 5 and logged in later and wanted more, then they would be told they can’t purchase any more tickets. How would this be done with your plugin?
If I set the single ticket min/max to 1 & 5, and the 6-ticket product set min/max to 1 & 2, this would mean that in a new shopping account, they could get 5 tickets + 12 tickets in one cart if they maxed out quantity of both products at the same time and this is over the 12 ticket max allowed. How can a lifetime limit be put on total sales no matter how many times they buy the product? Another way I thought of is selling 1 product, a ticket, and then have variable pricing depending on quantity. A drop-down list offering 1-5 tickets is $20 each and then a quantity of 6 for $100 and a quantity of 12 for $200 with no quantities offered between 6 and 12. But then how would this be managed to limit to a lifetime of 12 tickets over multiple sales? Another thought is having dynamic quantities and pricing for each user. Once they login, the product pricing and quantity options are dynamically calculated based on any past sales. Meaning that if they never bought, then they get the quantity options above, and if they log in again, then the product quantity options change. How can this be done?
And just in overall how can this lifetime limit of 12 be managed per user in woo commerce. Please help. Thank you.October 18, 2022 at 6:02 pm #101077MoshtafizurModeratorPlugin Support
Thanks for reaching out.
Yes, with our plugin, you can achieve what you are looking for. However, I’d suggest you create Product2 as a composite product. So, I would suggest you use a plugin called WPC Composite Products for WooCommerce by WPClever to create the composite product, which is fully compatible with our plugin.
So, if that’s okay for you, then please follow the general steps below:
1. First, assign all the tickets to a particular tag.
2. please navigate to WooCommerce > Settings > Maximum Products per User > General and set Mode to
Product quantities. Then set the Date range to
Lifetimeand Order statuses to
3. Next, go to the Limits section and check the Per product tag checkbox.
4. Then go to Products > Tags > Your tag > Edit and set Limit per user to
5. Now to sell six tickets together, please go to Product2‘s edit product page, and in the Product data section, select the Product data option to
Smart composite. Then, under the Components tab, you can either create six components for the composite product, each with a Quantity value set to
onefor each one of them, or you can create only one component with a Quantity value of
twelve, whichever works best for you, and assign a ticket to each component. Also, please select Require option as
Yesfor all components.
Now each of your users will be able to buy a maximum of 12 tickets.
> If they bought 5 and logged in later and wanted more, then they would be told they can’t purchase any more tickets. How would this be done with your plugin?
Our plugin will display a notice stating how many products they have already bought and how many products they can still buy. If you want, you can edit the message from WooCommerce > Settings > Maximum Products per User > Frontend > Customer message.
> Do they need to create an account prior to first-time checkout? Or can first-time customers checkout and the quantity is stored and updated then?
Your customer needs to be registered on your site in order to impose the limit. However, you can also impose the limit on guest users by tracking their ID address with our plugin. To do so, please navigate to WooCommerce > Settings > Maximum Products per User > Guests section and set the Guests option to
Identify guests by IP address.
I hope you find this information helpful. If you have any other questions, then please let us know.
- You must be logged in to reply to this topic.