- Posts: 2
- Thank you received: 0
How to change the minimum number of members?
- Leemaj
- Topic Author
- Offline
- New Member
-
Less
More
12 years 4 months ago #26894
by Leemaj
How to change the minimum number of members? was created by Leemaj
Hi,
I have a question about Event Booking.
How can I change the minimum number of members for a group registration from the current 2 to 6?
Thanks!
I have a question about Event Booking.
How can I change the minimum number of members for a group registration from the current 2 to 6?
Thanks!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 4 months ago - 12 years 4 months ago #26908
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to change the minimum number of members?
Hi
You will need to edit code alitle. However, it is easy. Please follow the instructions below :
1. Open the file components/com_eventbooking/views/register/tmpl/group.php
2. Find the code below:
3. Change it to :
After that, it should work as expected.
Tuan
You will need to edit code alitle. However, it is easy. Please follow the instructions below :
1. Open the file components/com_eventbooking/views/register/tmpl/group.php
2. Find the code below:
Code:
if (parseInt(form.number_registrants.value)< 2) {
alert("<?php echo JText::_('EB_NUMBER_REGISTRANTS_IN_VALID'); ?>");
form.number_registrants.focus();
return false;
}
3. Change it to :
Code:
if (parseInt(form.number_registrants.value)< 6) {
alert("<?php echo JText::_('EB_NUMBER_REGISTRANTS_IN_VALID'); ?>");
form.number_registrants.focus();
return false;
}
After that, it should work as expected.
Tuan
Last edit: 12 years 4 months ago by Tuan Pham Ngoc.
The following user(s) said Thank You: Leemaj
Please Log in or Create an account to join the conversation.
- Leemaj
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
12 years 3 months ago #27368
by Leemaj
Replied by Leemaj on topic Re: How to change the minimum number of members?
Thank you!
Now when you go to register for a group.
You can only continue if you enter 6 or higher, which is good.
But after when you are entering the member information, after you finish the 2nd member, there is a button that lets you skip the rest. So pretty much, not having to enter the other members and getting charged for those members.
How can I remove this "Skip Member" or make it so it doesn't not charge for the rest of the members that was entered?
Thanks!
Now when you go to register for a group.
You can only continue if you enter 6 or higher, which is good.
But after when you are entering the member information, after you finish the 2nd member, there is a button that lets you skip the rest. So pretty much, not having to enter the other members and getting charged for those members.
How can I remove this "Skip Member" or make it so it doesn't not charge for the rest of the members that was entered?
Thanks!
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 3 months ago #27417
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to change the minimum number of members?
Hi
Look at the file components/com_eventbooking/views/register/tmpl/group_member.php, you should see the code for the button and can remove it.
Tuan
Look at the file components/com_eventbooking/views/register/tmpl/group_member.php, you should see the code for the button and can remove it.
Tuan
Please Log in or Create an account to join the conversation.
- Bianca
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
6 years 9 months ago #117868
by Bianca
Replied by Bianca on topic Re: How to change the minimum number of members?
Hello,
where can i change the number of members in later versions (3.2.1)?
Greetings,
Bianca
where can i change the number of members in later versions (3.2.1)?
Greetings,
Bianca
Please Log in or Create an account to join the conversation.
- Bianca
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
6 years 9 months ago #117869
by Bianca
Replied by Bianca on topic Re: How to change the minimum number of members?
Hello,
where can i change the number of minimum/maximum members in later versions (3.2.1)?
Greetings,
Bianca
where can i change the number of minimum/maximum members in later versions (3.2.1)?
Greetings,
Bianca
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 9 months ago #117871
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to change the minimum number of members?
Hello
We don't allow changing number members by default. If you want to change it, you will need to edit code:
- Open the file administrator/components/com_eventbooking/view/registrant/tmpl/default.php
- Find this line of code:
- Change it to:
Regards,
Tuan
We don't allow changing number members by default. If you want to change it, you will need to edit code:
- Open the file administrator/components/com_eventbooking/view/registrant/tmpl/default.php
- Find this line of code:
Code:
<input type="text" name="number_registrants" value="<?php echo $this->item->number_registrants ?>" readonly="readonly" />
- Change it to:
Code:
<input type="text" name="number_registrants" value="<?php echo $this->item->number_registrants ?>" />
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Bianca
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
6 years 9 months ago - 6 years 9 months ago #117874
by Bianca
Replied by Bianca on topic Re: How to change the minimum number of members?
I does't work. I like to change the minimum number for groups from 2 to 1 (because i will not use two registration buttons, will only use the group button - two registration buttons are to much for older bookers).
And thanks for the quick response.
Bianca
And thanks for the quick response.

Bianca
Last edit: 6 years 9 months ago by Bianca.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 9 months ago #117881
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to change the minimum number of members?
Ah
I mis-understand your question. In this case, you need to edit the event, set Min Number of Registrants For Group Registration setting of that event to 1 and it will work fine
Tuan
I mis-understand your question. In this case, you need to edit the event, set Min Number of Registrants For Group Registration setting of that event to 1 and it will work fine
Tuan
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.