Merge Individual and Group registration.

  • Anirudh Kumar
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago #34934 by Anirudh Kumar
Merge Individual and Group registration. was created by Anirudh Kumar
1) I want to remove Individual registration and I want group registration to accept individual register. :(

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 7 months ago #34935 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Merge Individual and Group registration.
Hi

You can edit the event, change Registration Type to only Group Registration and It should solve the issue ?

Tuan

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

  • Anirudh Kumar
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago - 12 years 7 months ago #34936 by Anirudh Kumar
Replied by Anirudh Kumar on topic Re: Merge Individual and Group registration.
Number of members need to be greater than or equal 2 :(

when is the last time you have seen Individual and group Buy Tickets button? I think it is too much so I want Group Registration to accept Individual registration aswell so that I decrease one button and simplify process
Last edit: 12 years 7 months ago by Anirudh Kumar.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 7 months ago #34937 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Merge Individual and Group registration.
We can edit the code alitle to remove that restriction :

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)< 1) { alert("<?php echo JText::_('EB_NUMBER_REGISTRANTS_IN_VALID'); ?>"); form.number_registrants.focus(); return false; }

After that, the issue should be sorted !

Tuan

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

  • Anirudh Kumar
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago - 12 years 7 months ago #34952 by Anirudh Kumar
Replied by Anirudh Kumar on topic Re: Merge Individual and Group registration.
Problem Solved! Thanks
Last edit: 12 years 7 months ago by Anirudh Kumar.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 7 months ago #34967 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Merge Individual and Group registration.
Great. Thanks for the update ! For some one has the same question, just upgrade to version 1.6.1. After that, if you want the group registration has same price (doesn't depend on number of members), simply enter that price into Fixed Group price field and It will work well !

Regards,

Tuan

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

  • Anirudh Kumar
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago - 12 years 7 months ago #34974 by Anirudh Kumar
Replied by Anirudh Kumar on topic Re: Merge Individual and Group registration.
Sloved :) "Location map" is not working on event description page :(
Last edit: 12 years 7 months ago by Anirudh Kumar. Reason: Sloved :)

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

More
11 years 6 months ago #49918 by Richard
Replied by Richard on topic Re: Merge Individual and Group registration.
Hello

I also don't see the point in separating individual/group registrations. Just seems to add unnecessary complication.

I have tried this but can't find the code you refer to.

I'm using version 1.6.5

Help appreciated!

Thanks

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 6 months ago #49921 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Merge Individual and Group registration.
Hi Richard

If you are using version 1.6.5, you should download version 1.6.6 and upgrade it to your site. The reason is because version 1.6.5 might have some javascript conflicts (it only happens on some special sites).

Back to the code modification, that code is outdated. In version 1.6.5+, you will need to:

1. Open the file components/com_eventbooking/views/register/tmpl/number_members.php

2. Find the code below:

<input type="text" class="input-mini validate[required,custom[number],min[2],max[<?php echo $this->maxRegistrants; ?>]" id="number_registrants" name="number_registrants" data-errormessage-range-underflow="<?php echo JText::_('EB_NUMBER_REGISTRANTS_IN_VALID'); ?>" data-errormessage-range-overflow="<?php echo JText::sprintf('EB_MAX_REGISTRANTS_REACH', $this->maxRegistrants);?>" value="<?php echo $this->numberRegistrants;?>" />


3. Change min[2] from the above code to min[1] and It will work as expected

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc