Group Registraton- Minimum # of registrants

  • Senorita
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 3 months ago #4926 by Senorita
I want to enable a group discount rate for a banquet (buying a table), but would like for the minimum # of registrants to be 8. Currently the system allows at least 2 people to register. How do I enable a minimum of 8 restriction?

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #4929 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Group Registraton- Minimum # of registrants
Hi

The maximum number registrants for group registration is not available for the current version. However, I will add it to the next version of the extension .

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #5783 by alexwalker
Replied by alexwalker on topic Re: Group Registraton- Minimum # of registrants
This is now available in the latest version! Excellent ! :)

"to assume is to make an ass of u and me"

Please Log in or Create an account to join the conversation.

More
14 years 1 week ago #6734 by nycruns
I'm sorry how do you do this?

Please Log in or Create an account to join the conversation.

More
14 years 1 week ago #6746 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Group Registraton- Minimum # of registrants
Hi

The maximum number of registrants is now available in the latest version of the extension. However, the minimum registrants for group registration is not available yet. If you want to change minimum number of registrants, you need to edit one file .

Open the file components/com_eventbooking/views/register/tmpl/group.php, look at line of code :
Code:
if (parseInt(form.number_registrants.value)< 2) { alert("<?php echo JText::_('EB_NUMBER_REGISTRANTS_IN_VALID'); ?>"); form.number_registrants.focus(); return ; }

Change 2 to the number you want !

Hope this help !

Tuan

Please Log in or Create an account to join the conversation.

More
14 years 1 week ago #6791 by nycruns
It does the trick with one exception - I still have the option to Skip Member #3. Thoughts?

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc