Help :-( Variable number of "Optional items"
- Andrea
- Topic Author
- Offline
- Elite Member
Less
More
8 years 1 week ago #80902
by Andrea
Visit my page! www.elementotango.it
Help :-( Variable number of "Optional items" was created by Andrea
Hi there, I have a special need which I'm not sure how to code..
Assume I have an event with 100 available tickets. Easy.
One registrant, in the registration form shall be able to book and pay an optional item. Assume this is a cushion for babies' seats.
Normal ticket = 100 $. Cushion = 5 $
But we only have 20 cushions !!
So, the person shall be able to select (radio ? checkbox ?) the cushion until we reach zero. If there's one available, the price shall be increamented by the 5$ of the cushion.
SIGH. How to do that ?
Hope there is an easy solution for that. I'm studying several past posts to find one.
Thanks!!
Ciao Andrea.
Assume I have an event with 100 available tickets. Easy.
One registrant, in the registration form shall be able to book and pay an optional item. Assume this is a cushion for babies' seats.
Normal ticket = 100 $. Cushion = 5 $
But we only have 20 cushions !!
So, the person shall be able to select (radio ? checkbox ?) the cushion until we reach zero. If there's one available, the price shall be increamented by the 5$ of the cushion.
SIGH. How to do that ?
Hope there is an easy solution for that. I'm studying several past posts to find one.
Thanks!!
Ciao Andrea.
Visit my page! www.elementotango.it
Please Log in or Create an account to join the conversation.
- Andrea
- Topic Author
- Offline
- Elite Member
8 years 1 week ago #80938
by Andrea
Visit my page! www.elementotango.it
Replied by Andrea on topic Help :-( Variable number of "Optional items"
Hi Team!
I hope you will be able to have a look at this one and help me. I do need to publish the event by this Saturday and I will need to find a solution, so I hope this one can get thru quickly, even if I know and understand the workload you probably have already. Sorry for that.
Thanks!!
Ciao Andrea.
I hope you will be able to have a look at this one and help me. I do need to publish the event by this Saturday and I will need to find a solution, so I hope this one can get thru quickly, even if I know and understand the workload you probably have already. Sorry for that.
Thanks!!
Ciao Andrea.
Visit my page! www.elementotango.it
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 1 week ago #80964
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Help :-( Variable number of "Optional items"
Hi Andrea
If I understand your requirement correctly, you can use this solution:
1. Use custom fee field feature (radio custom fee field) to allow users to choose the cushion option. See eventbookingdoc.joomservices.com/basic-s...wn-custom-field-type
2. Use custom quantity option to limit number of option registrant can choose. See eventbookingdoc.joomservices.com/basic-s...ustom-field-quantity
So basically, in this case, you will need to create a radio custom field with fee + quantity option. The only limitation is that with quantity option, the system will disable registration for the event when the limit reach the quantity. So in this case, we might have to customize the code abit to make it works for your case
But try to follow my answers above and setup it first
Tuan
If I understand your requirement correctly, you can use this solution:
1. Use custom fee field feature (radio custom fee field) to allow users to choose the cushion option. See eventbookingdoc.joomservices.com/basic-s...wn-custom-field-type
2. Use custom quantity option to limit number of option registrant can choose. See eventbookingdoc.joomservices.com/basic-s...ustom-field-quantity
So basically, in this case, you will need to create a radio custom field with fee + quantity option. The only limitation is that with quantity option, the system will disable registration for the event when the limit reach the quantity. So in this case, we might have to customize the code abit to make it works for your case
But try to follow my answers above and setup it first
Tuan
The following user(s) said Thank You: Andrea
Please Log in or Create an account to join the conversation.
- Andrea
- Topic Author
- Offline
- Elite Member
8 years 1 week ago #80965
by Andrea
Visit my page! www.elementotango.it
Replied by Andrea on topic Help :-( Variable number of "Optional items"
Hello Tuan, an immense help from me. I will jump immediately to configure it according to what you said. In case you need to modify the code and create a specific plugin for me, I'd like to make a donation. Thanks! Andrea.
Visit my page! www.elementotango.it
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 1 week ago #80966
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Help :-( Variable number of "Optional items"
Just config it to see whether the suggestion solution works or not. Then we will discuss about it further
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Andrea
- Topic Author
- Offline
- Elite Member
8 years 1 week ago #80976
by Andrea
Visit my page! www.elementotango.it
Replied by Andrea on topic Help :-( Variable number of "Optional items"
Tuan, I'm coding it. One idea: if I create one more radio choice like "no cushon" and set the quantity avaiable to 9999999999, then we should solve the issue. Cushions will run out, but the event will always be open, since the "no cushion" option will not run out before the closure of the event. Would that work ?
Visit my page! www.elementotango.it
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 1 week ago #80978
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Help :-( Variable number of "Optional items"
Oh Yes. You are smart
The following user(s) said Thank You: Andrea
Please Log in or Create an account to join the conversation.
- Andrea
- Topic Author
- Offline
- Elite Member
8 years 1 week ago #80981
by Andrea
Visit my page! www.elementotango.it
Replied by Andrea on topic Help :-( Variable number of "Optional items"
Thank-you! Let's see if this works first I'll plug this in a complex one and test. Thanks again so much!
Visit my page! www.elementotango.it
Please Log in or Create an account to join the conversation.
- Andrea
- Topic Author
- Offline
- Elite Member
8 years 1 week ago - 8 years 1 week ago #81000
by Andrea
Visit my page! www.elementotango.it
Replied by Andrea on topic Help :-( Variable number of "Optional items"
Hi Tuan, I wanted to confirm the whole thing works perfecty with your suggestions and my additional trick about the quantity set at 9999. This may become a FAQ article
Tuan I wanted to send you an email at your hotmail account but it is rejecting my email. How can write you a private message (to you personally) ?
Thanks Andrea.
Tuan I wanted to send you an email at your hotmail account but it is rejecting my email. How can write you a private message (to you personally) ?
Thanks Andrea.
Visit my page! www.elementotango.it
Last edit: 8 years 1 week ago by Andrea.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 1 week ago #81043
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Help :-( Variable number of "Optional items"
Hi Andrea
You can email me directly to tuanpn@joomdonation.com.
Regards,
Tuan
You can email me directly to tuanpn@joomdonation.com.
Regards,
Tuan
The following user(s) said Thank You: Andrea
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.