- Posts: 70
- Thank you received: 10
Group Registration Rates as Percentage
- Dan Sajdowitz
- Topic Author
- Offline
- Senior Member
-
Less
More
9 years 1 month ago #94370
by Dan Sajdowitz
Group Registration Rates as Percentage was created by Dan Sajdowitz
Does the Group Registration Rates currently accept a percentage discount rather than a dollar amount rate?
I need to offer a 10% discount off the total for groups of 4 or more.
Each member's registration cost could be different based on options, so setting a flat dollar rate per person will not work.
I need to offer a 10% discount off the total for groups of 4 or more.
Each member's registration cost could be different based on options, so setting a flat dollar rate per person will not work.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 1 month ago #94378
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Group Registration Rates as Percentage
Hello Dan
Unfortunately, it is not supported. Right now, group registration rate only allow you to setup a plat rate for each members depend on number of members in the group
In your case, I think you would have to customize code to have it works like that
Regards,
Tuan
Unfortunately, it is not supported. Right now, group registration rate only allow you to setup a plat rate for each members depend on number of members in the group
In your case, I think you would have to customize code to have it works like that
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Dan Sajdowitz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 70
- Thank you received: 10
9 years 1 month ago #94428
by Dan Sajdowitz
Replied by Dan Sajdowitz on topic Group Registration Rates as Percentage
Thanks, Tuan.
Would this be a modification you'd be willing to consider? I'm sure I can hack the code to get it to work, but I'm not a fan of doing that because it makes doing upgrades more difficult.
Would this be a modification you'd be willing to consider? I'm sure I can hack the code to get it to work, but I'm not a fan of doing that because it makes doing upgrades more difficult.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 1 month ago #94429
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Group Registration Rates as Percentage
Hello Dan
Do you know that Events Booking support override it's core code? See eventbookingdoc.joomservices.com/develop...stomization-override
So you can modify the code using override and the changes won't be lost when you upgrade to future releases
Tuan
Do you know that Events Booking support override it's core code? See eventbookingdoc.joomservices.com/develop...stomization-override
So you can modify the code using override and the changes won't be lost when you upgrade to future releases
Tuan
Please Log in or Create an account to join the conversation.
- Dan Sajdowitz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 70
- Thank you received: 10
9 years 1 month ago - 9 years 1 month ago #94430
by Dan Sajdowitz
Replied by Dan Sajdowitz on topic Group Registration Rates as Percentage
[strike]Tuan, yes, I have used this in the past for some modifications. However, if I do this, doesn't that also mean that by using the override files I would sometimes miss out on feature changes that may have been made in the core files?[/strike]
I misunderstood which overrides you were referencing. So I created /components/com_eventbooking/helper/override/helper.php
(I can't paste the code here - your forum software thinks I'm attempting a SQL injection attack - so I've attached a screenshot.)
When I add the changes here, they're not taking effect. However, if I make the changes in the core helper.php file, they work.
I'm using v2.13.2
Any ideas why the overrides aren't working?
I misunderstood which overrides you were referencing. So I created /components/com_eventbooking/helper/override/helper.php
(I can't paste the code here - your forum software thinks I'm attempting a SQL injection attack - so I've attached a screenshot.)
When I add the changes here, they're not taking effect. However, if I make the changes in the core helper.php file, they work.
I'm using v2.13.2
Any ideas why the overrides aren't working?
Last edit: 9 years 1 month ago by Dan Sajdowitz.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 1 month ago #94461
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Group Registration Rates as Percentage
Ah, at the moment, that method could not be overriden. I will allow overriding this method in the next release 2.14.0. For now, please keep both the override file and also add the modification to main file, too
When you upgrade to 2.14.0, the override will be used
Tuan
When you upgrade to 2.14.0, the override will be used
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.