- Posts: 108
- Thank you received: 0
Individual registration allows multiple but......
- mikej
- Topic Author
- Offline
- Premium Member
-
Less
More
14 years 4 days ago #8988
by mikej
Individual registration allows multiple but...... was created by mikej
Hello,
Individual registration allows people to purchase multiple types and amounts of different tickets available (Adult priced, child priced etc) but doesn't check to make sure that the amount of tickets they are purchasing is less than what is available.
I am going to use an example event here. I have an event that can hold 20 people. Which means if someone wants to register 22 people, it shouldn't be allowed.
Here is my problem
I have four types of tickets (Adult, Child, Senior Citizen, Military) all with different prices. I have that working. The price calculates like it is supposed to using custom fields etc. The events also show up with the types of tickets and their price, then they can click "Individual Register".
So here in lies my problem. Say I have a family of 5 that want to register. They shouldn't have to put in each person's name, they should be able to just click "Purchase Ticket (which was named Individual Ticket" put in their information and select say 2 adults and 3 children and click "Confirm" which they can do, but say the event has a capacity of 20 and 18 people are already registered. They should receive an error when trying to purchase 5 spots for that event as it goes over the limit by 3.
I understand the group registration would do this, but I don't want them to have to enter each person's information while having to select what type of ticket that person should select. To much work for someone. Is my situation possible to have?
Individual registration allows people to purchase multiple types and amounts of different tickets available (Adult priced, child priced etc) but doesn't check to make sure that the amount of tickets they are purchasing is less than what is available.
I am going to use an example event here. I have an event that can hold 20 people. Which means if someone wants to register 22 people, it shouldn't be allowed.
Here is my problem
I have four types of tickets (Adult, Child, Senior Citizen, Military) all with different prices. I have that working. The price calculates like it is supposed to using custom fields etc. The events also show up with the types of tickets and their price, then they can click "Individual Register".
So here in lies my problem. Say I have a family of 5 that want to register. They shouldn't have to put in each person's name, they should be able to just click "Purchase Ticket (which was named Individual Ticket" put in their information and select say 2 adults and 3 children and click "Confirm" which they can do, but say the event has a capacity of 20 and 18 people are already registered. They should receive an error when trying to purchase 5 spots for that event as it goes over the limit by 3.
I understand the group registration would do this, but I don't want them to have to enter each person's information while having to select what type of ticket that person should select. To much work for someone. Is my situation possible to have?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
14 years 4 days ago #8995
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Individual registration allows multiple but......
I understand the problem you are having. However, the extension cannot check the capacity in custom fields (It doesn't know what custom fields handle capacity). It only know that :
+ When you use Individual Registration -> Number registrant is 1 .
+ When you use Group Registration -> Number registrants is the number you entered .
The extension sometime could not meet your whole requirement, so you might have to customize it to meet your need.
Regards,
Tuan
+ When you use Individual Registration -> Number registrant is 1 .
+ When you use Group Registration -> Number registrants is the number you entered .
The extension sometime could not meet your whole requirement, so you might have to customize it to meet your need.
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- mikej
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 108
- Thank you received: 0
14 years 4 days ago #8997
by mikej
Replied by mikej on topic Re: Individual registration allows multiple but......
What would need to be done to customize it to the way I need it?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
14 years 4 days ago #9000
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Individual registration allows multiple but......
There are serveral tasks need to do :
+ Include javascript checking on registration form to make sure total registrants (Adult + Children) is not exceed the capacity of the event .
+ Update number_registrants field in t0r4j_eb_registrants table to reflect the actual registrant number .
You need to know Joomla / PHP programming in this case !
Regards,
Tuan
+ Include javascript checking on registration form to make sure total registrants (Adult + Children) is not exceed the capacity of the event .
+ Update number_registrants field in t0r4j_eb_registrants table to reflect the actual registrant number .
You need to know Joomla / PHP programming in this case !
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- mikej
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 108
- Thank you received: 0
14 years 4 days ago #9003
by mikej
Replied by mikej on topic Re: Individual registration allows multiple but......
I would think if I seen sample code (how it works for group) then I could replicate this feature and then share with the community the correct files if they want this too. So if you could tell me the files where the functions are for the group and I am assuming to get this to work for individual registration would be putting the code into the same files?
If not.....How much to get this added?
If not.....How much to get this added?
Please Log in or Create an account to join the conversation.
- boussineau
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
13 years 7 months ago - 13 years 7 months ago #11398
by boussineau
Replied by boussineau on topic Re: Individual registration allows multiple but......
Hello
I have a quite similar problem. I currently dont care of the capacity of the event, but I'd just like to check that the total (adult+children) is not null, as it seems that regisration and payment procedure goes on even if this total is null.
In your answer, you say:
"+ Include javascript checking on registration form to make sure total registrants (Adult + Children) is not exceed the capacity of the event "
I see where to put this javascript checking (components\com_eventbooking\views\register\tmpl\default.php), but I dont know how to get total of custom fields... (in my case adult+children should be great, but total fee should work as well)
(notice that at this time, some checking is done on $this->amount, which is not relevant in this case, because it returns always 0, as I suppose that $this->amount refers to event price...)
In fact maybe a good way to solve this issue of multiple price should be to be able to tie custom fields also to group register view, and compute #registrants as sum af custom fields values before entering billing view... (but maybe a big change...)
Regards
I have a quite similar problem. I currently dont care of the capacity of the event, but I'd just like to check that the total (adult+children) is not null, as it seems that regisration and payment procedure goes on even if this total is null.
In your answer, you say:
"+ Include javascript checking on registration form to make sure total registrants (Adult + Children) is not exceed the capacity of the event "
I see where to put this javascript checking (components\com_eventbooking\views\register\tmpl\default.php), but I dont know how to get total of custom fields... (in my case adult+children should be great, but total fee should work as well)
(notice that at this time, some checking is done on $this->amount, which is not relevant in this case, because it returns always 0, as I suppose that $this->amount refers to event price...)
In fact maybe a good way to solve this issue of multiple price should be to be able to tie custom fields also to group register view, and compute #registrants as sum af custom fields values before entering billing view... (but maybe a big change...)
Regards
Last edit: 13 years 7 months ago by boussineau.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.