- Posts: 9
- Thank you received: 0
Reduce registration, showing Group billing step
- 142
- Topic Author
- Offline
- New Member
-
Less
More
9 years 5 months ago #89745
by 142
Reduce registration, showing Group billing step was created by 142
Hi !
I put the Reduce registration process setting to "Yes" but it still shows the Group billing step.
(It's not a free event and I don't understand if it's working ony for free events. If it's the case, can you help me delete this billing step for groups on paid events ?)
Can you help me please ?
Thank you !
I put the Reduce registration process setting to "Yes" but it still shows the Group billing step.
(It's not a free event and I don't understand if it's working ony for free events. If it's the case, can you help me delete this billing step for groups on paid events ?)
Can you help me please ?
Thank you !
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 5 months ago #89788
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Reduce registration, showing Group billing step
Hi
You will need to edit code if you want to remove billing step:
1. Open the file components/com_eventbooking/helper/helper.php
2. Find this method:
showBillingStep
3. Add the command below to the begining :
return false;
Then it should work as expected. Could you please check?
Tuan
You will need to edit code if you want to remove billing step:
1. Open the file components/com_eventbooking/helper/helper.php
2. Find this method:
showBillingStep
3. Add the command below to the begining :
return false;
Then it should work as expected. Could you please check?
Tuan
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 4 months ago #89816
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Reduce registration, showing Group billing step
I've been playing with the new Override functionality that was added in with EB 2.10.2 and think that I've finally got it all figured out.
If you wanted to build a permanent override for this that won't be lost when you upgrade:
1) create a new folder and file: components/com_eventbooking/helper/override/helper.php
2) and place the following code into it
If you wanted to build a permanent override for this that won't be lost when you upgrade:
1) create a new folder and file: components/com_eventbooking/helper/override/helper.php
2) and place the following code into it
Code:
<?php
// no direct access
defined('_JEXEC') or die;
// disable group billing step
class EventbookingHelperOverrideHelper extends EventbookingHelper {
public static function showBillingStep($eventId) {return(false);}
}
?>
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 4 months ago #89847
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Reduce registration, showing Group billing step
Hi James
Unfortunately , this is actually a static method and override is not supported (not like in Controllers, Models or Views classes )
Tuan
Unfortunately , this is actually a static method and override is not supported (not like in Controllers, Models or Views classes )
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 4 months ago #89848
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Reduce registration, showing Group billing step
Maybe we can alter EB code abit to support overriding that method. But that must be in the next release of Events Booking, for now, modify code is needed
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 4 months ago #89880
by James Riley
My knowledge of classes and functions is really pretty elementary.
Sorry if my post caused confusion, @142.
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Reduce registration, showing Group billing step
Just when I think I've got it finally figured outTuan Pham Ngoc wrote: Unfortunately , this is actually a static method and override is not supported (not like in Controllers, Models or Views classes )
Sorry if my post caused confusion, @142.
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 4 months ago #89915
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Reduce registration, showing Group billing step
No problem James. Thanks for your help
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.