Group Registration - Can you not have billing info

  • John David
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 3 months ago #53772 by John David
Can you not collect billing info for group registration?

info@tkd-events.com

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

More
11 years 3 months ago #53818 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Group Registration - Can you not have billing info
Hi John

It is not possible by default (only possible for free events). However, you can edit the code alitle to hide that step :

1. Open the file components/com_eventbooking/helper/helper.php

2. Find the function showBillingStep($eventId)

3. Add the command below to the beginning of that function:

return false;

After that, the billing step will be hided, so billing information won't be collected for group registration

Regards,

Tuan

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

More
11 years 3 months ago - 11 years 3 months ago #54299 by Bryan
Could I get a little more information? Maybe this is the solution I am after. I want to continue to collect full information when registering a group of 2 or more students, but then it goes to the billing page and it collects all that information again for whoever is responsible for billing.

So, I tried to just see for myself what happens by adding in the "return false;" command. Going to the help.php file, I see this
Code:
/** * Check to see whether we will show billing form on group registration * @param int $eventId * @return boolean */ public static function showBillingStep($eventId)

So, I put "return false;" in before the last line, or just before the showBilling command, or before the "public static function" phrase. All of these had the effect of breaking my website so that it wouldn't load. So, if you could provide a bit more detail for a dummy like me, I would appreciate it.
Cheers,
Bryan
Last edit: 11 years 3 months ago by Bryan.

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

  • John David
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 3 months ago #54303 by John David
I just went through this myself.

Here is the solution:

edit the custom field, set "Display In" of that custom field to "Both Group Member form and Individual Billing Form" and it will solve the issue.

This is the last option in the display in pull down menu.

Be sure that in your settings for the event that the max number for group registration is not set to 0 (which I think is the default)

John

info@tkd-events.com

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

More
11 years 3 months ago #54306 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Group Registration - Can you not have billing info
Hi Bryan

I mis-understood your questions before. Please see the answer which John gave above, I think it should be perfect option for you.

Please try that and let me know if you need more help

Tuan

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

More
11 years 3 months ago #54326 by Bryan
Seems like lots of misunderstanding here. I was going by the original poster's subject line saying: "Can you not have billing info" thinking the question was "Is there a way to skip the redundant billing info using the already collected member information?"

In the event entry form setting group max to something other than 0 doesn't affect the change I'm after. For me, having group max at 0 works exactly like it's supposed to, it takes it's limit from the class limit of available spaces.

John's comment about editing the "Display In" attribute may help a good deal to reduce some redundancy so I'll play around with that some more to get the effect I hope for. For instance, someone registering a group of 6 students shouldn't have to see the question "how did you hear about us" 7 times (6 members + 1 billing).

Cheers,
Bryan

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

More
11 years 3 months ago #54330 by Bryan
Wow, that really helped. I was able to greatly streamline my registration process and am not collecting redundant information. I even figured out that I can create fields that are dependent on a response from another field, so I can have them check a box in the group billing to have them select if they want to add additional email addresses or not. It all adds up to a much nicer system.

Here I was blaming Events Booking for a less-than-ideal group registration but it was totally me.

Now, if only I can get my CSS conflicts figured out it should actually work again...

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

More
11 years 3 months ago #54333 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Group Registration - Can you not have billing info
Hi Bryan

My template developer will check the css conflict and get it sorted for you.

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc