Woo variation quantity
-
Hello, I need to change the stock quantity based on if they book a child or an adult, I can do this in the variations stock, how do i use the stock from the variations rather than the booking activity app? Thank you
-
Hello,
You should not use WooCommerce’s “stock” feature with Booking Activities. Indeed, the product stock is global, it doesn’t take into account the booked event. So if stock = “10” for example, you will be able to sell 10 bookings overall. If you want to sell 10 bookings per event, you need to set your event availability to “10” in Booking Activities’ settings.
In order to restrict the availability per adult / children, you need to create two distinct events: one event for the adults, and one event for the children, and set their availability accordingly.
For disambiguation, the Prices and Credits add-on has a feature to set a different price for Adults and Children (demo, docs), it allows you to restrict the number of adults and children per booking. But that’s only per booking, not per event: this add-on doesn’t allow you to restrict the number of adults or the number of children per event.
hello, thank you for your reply. That’s such a shame. Was really hopefully this would be a great add on for us. We wanted to purchase the add on but if it doesn’t restrict how many bookings per event it won’t be any good. Is there any other way of over riding this to restrict the amount of adult and children booking on one event?
Workaround #1
If your events are private (i.e. if an event can be booked by one client only), you can
- still use the Prices and Credits add-on and restrict the adults and children quantity per booking
- set “Max users per event” = 1 in Booking Activities > Calendar editor > the activity settings > Availability tab
Once a customer has booked an event, the event will be made unavailable for every other customers, even if places remain (demo).
However, the customer who has booked the event can still make a second booking for this event (if the booking was made with an account and if the customer is logged into that account).
Workaround #2
If your events have the same quantity restrictions and do not overlap, you can use the Resource Availability add-on.
This add-on is designed to manage your resources availability, so you can imagine that you have in your hand, for example, 10 adults tickets, and 16 children tickets to distribute to each participant.
- Create a Resource: Title = “Adult ticket”, Number of available resources = 10, Resource category = create a category named “Tickets”, Price = your adult price (docs)
- Create a Resource: Title = “Child ticket”, Number of available resources = 16, Resource category = “Tickets”, Price = your children price
- Allocate the “Tickets” to your activity: Label = “Tickets”, Resource category = “Tickets”, Resource selection = “Let the user choose the resource”, Quantity = 1, Per booking = ON, Allow combining resources = ON (docs)
- Add the “Resource selection” field to your booking form (docs)
Now your customers can select an event and then select the number of “Adult ticket” and “Child ticket” they want (like on this demo, customers select the number of kayaks and canoes). The number of “Adult ticket” and “Child ticket” will be restricted to 10 and 16 respectively per event, provided that the events do not overlap.
If you have activities with different quantity restriction, or if you have overlapping events, you can still create more specific resources, like “Adult ticket for activity #1”, “Adult ticket for activity #2”, etc. and allocate them to the corresponding activity only.
Thank you for the detailed reply, appreciate you doing that. The sessions are not private they can be booked by several customers. If I used option two would I just need to purchase the resources one or would I need the credits add on as well?
Is there an option to trial it to see if it works ok first before purchase?
Thanks again
also the adults and child cost is different to each other.
With the Workaround #2, you only need the Resource Availability add-on.
Note that
- the price per resource is fixed, you won’t be able to set it according the quantity. You cannot make the first “Adult ticket” free of charge for example.
- you cannot set a minimum quantity per resource, for example, you cannot force the customer to book for at least two children.
There is no free trial, but you can request a refund up to 30 days after the purchase date if it doesn’t meet your needs. I am the one who will process the refund, you can contact me at [email protected].
Ok, thank you. I will have a look this evening. The first adult is free but it won’t need to be booked as it’s a given at least one adult has to come so will just be part of the child booking any way. I can make the adults one price and the child another price though?
sorry for all the questions, just one more. What benefit other than the payment going through the woopayments will the woo products give as it’s all going to be included on the add on instead now. Would I still need a woo product or just have it standing alone?
Yes you can set a different price per resource, for example you can set the “Adult ticket” price to $10 and the “Child ticket” to $15.
You need WooCommerce only to make online payments.
Ok makes sense. It’s currently set up as a variable product so I can just do a basic simple product instead and then add your plugin and tick activity?
also how do I see the list of people that have made a booking? I usually do this from an app that exports woo products.
Hello, yes a simple product would be enough (docs).
You can see the list of people that have made a booking from your site backend, in Booking Activities > Bookings.
You can also sync your bookings on a calendar app or on a spreasheet app (docs 1. and 4.), but in that case, you won’t see your bookings in real time, these apps usually have a 12h or 24h delay between each sync (this is not due to Booking Activities).
Thank you for all your help, I am going to read over it all and once we need it up and running hopefully get it all working!
- The topic ‘Woo variation quantity’ is closed to new replies.