- Posts: 20
- Thank you received: 0
Apply currency discount to multiple registration
- Laus
- Topic Author
- Offline
- Junior Member
-
Less
More
13 years 3 months ago #13486
by Laus
Apply currency discount to multiple registration was created by Laus
At present when applying a member discount there are 2 option currency (£ in my site) or Percetage (%)
If you use percentage discount this applies the discount to all tickets bought, but if you apply the currency discount it will only take that discount off the total bill rather than applying in to each ticket booked.
How can I change this so that the currency discount is applied to all tickets booked please?
Thx
If you use percentage discount this applies the discount to all tickets bought, but if you apply the currency discount it will only take that discount off the total bill rather than applying in to each ticket booked.
How can I change this so that the currency discount is applied to all tickets booked please?
Thx
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 3 months ago #13549
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Apply currency discount to multiple registration
Hi Laus
Could you please explain more detail ? You are talking about Group Registration ?
Tuan
Could you please explain more detail ? You are talking about Group Registration ?
Tuan
Please Log in or Create an account to join the conversation.
- johnibiz
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
13 years 3 months ago #13562
by johnibiz
Replied by johnibiz on topic Re: Apply currency discount to multiple registration
I have the same question - I would like to apply a fixed discount (say £5) for each ticket purchased both in single and multiple registrations - I could do this with a percentage but it will give me an odd percentage as my tickets are £65 - is there a way that the discount amount can be removed from each registration.
Rgds
John
Rgds
John
Please Log in or Create an account to join the conversation.
- Laus
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 3 months ago - 13 years 3 months ago #13661
by Laus
Replied by Laus on topic Re: Apply currency discount to multiple registration
No I am not talking about group registration as group registration applies to all applicants.
I am talking about member discount, which is only applied to members.
If I were to apply a discount of £10 to the first ticket and then put a £10 discount on a group booking over 2, this would have the effect of giving non-members the same discount as members.
I would like the £10 discount to apply only to members and multiplied by the number of places booked.
Thx for your support
I am talking about member discount, which is only applied to members.
If I were to apply a discount of £10 to the first ticket and then put a £10 discount on a group booking over 2, this would have the effect of giving non-members the same discount as members.
I would like the £10 discount to apply only to members and multiplied by the number of places booked.
Thx for your support

Last edit: 13 years 3 months ago by Laus.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 3 months ago #13692
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Apply currency discount to multiple registration
Hi Laus
I am sorry but I still don't understand what you want to setup here. Maybe we should have a quick chat on Skype about this problem ? Please see my contact information at joomdonation.com/index.php?option=com_co...ntact&id=1&Itemid=18
Regards,
Tuan
I am sorry but I still don't understand what you want to setup here. Maybe we should have a quick chat on Skype about this problem ? Please see my contact information at joomdonation.com/index.php?option=com_co...ntact&id=1&Itemid=18
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Laus
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 3 months ago #13707
by Laus
Replied by Laus on topic Re: Apply currency discount to multiple registration
Sorry no skype here.
When I submit event and set price it looks like this:
Which looks like this on details view:
If I add 4 tickets/registrants to the cart and go to checkout, the member discount of £10 is only applied to the whole transaction - not to each ticket:
The discount should be £40 (quantity x discount), but it is only applying a discount of £10.
How do I make it multiply the discount x quantity?
When I submit event and set price it looks like this:
Which looks like this on details view:
If I add 4 tickets/registrants to the cart and go to checkout, the member discount of £10 is only applied to the whole transaction - not to each ticket:
The discount should be £40 (quantity x discount), but it is only applying a discount of £10.
How do I make it multiply the discount x quantity?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 3 months ago #13738
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Apply currency discount to multiple registration
@Laus : I understand what you want now. Please get the file below, unzip it, upload to components/com_eventbooking/helper folder of your site. After that, it will work as expected !
Regards,
Tuan
Regards,
Tuan
Attachment os_cart.zip not found
- Laus
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 3 months ago #13811
by Laus
Replied by Laus on topic Re: Apply currency discount to multiple registration
That is great Tuan, thank you very much.
Perhaps we can catch up on YIM about customizations today?
Many Thanks!
Perhaps we can catch up on YIM about customizations today?
Many Thanks!
Please Log in or Create an account to join the conversation.
- johnibiz
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
13 years 3 months ago #13814
by johnibiz
Replied by johnibiz on topic Re: Apply currency discount to multiple registration
Does this apply to early bird discount too ?
Please Log in or Create an account to join the conversation.
- Laus
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 3 months ago #13816
by Laus
Replied by Laus on topic Re: Apply currency discount to multiple registration
Hi Johnibiz,
looking at the code I would say that it does NOT apply the same formula to early bird.
Tuan may confirm but I believe you need to change the line:
to:
I have not tested this, so please use use at your discretion.
looking at the code I would say that it does NOT apply the same formula to early bird.
Tuan may confirm but I believe you need to change the line:
Code:
$registrantDiscount += $event->early_bird_discount_amount ;
to:
Code:
$registrantDiscount += $event->quantity*$event->early_bird_discount_amount ;
I have not tested this, so please use use at your discretion.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.