- Posts: 16
- Thank you received: 0
Discount Calculation
- Wesley Derbyshire
- Topic Author
- Offline
- New Member
-
Less
More
10 years 8 months ago #65676
by Wesley Derbyshire
Discount Calculation was created by Wesley Derbyshire
Just an FYI. While there may be a reason for the discount calculation method, I see it as backwards as described below
Current Method
Event Price: $10.00
Member Discount: 20%
Early Bird Discount: 25%
--- So, this calculates to $10 - $2 = $8.00 for the Member Discounts.
And then it still calculates the Early Bird Discount based on the full price of $10, which in this case is 25%, for a $2.50 discount, and subtracts that from the $8.00 amount. Thus the price is $5.50
BUT, the way I envision the calculation to work is:
The Early Bird Discount should calculate from EITHER the full price if the user is not a member OR for Members, the discounted amount, which in this case is $8.00. Thus 25% of 8.00 is $2.00, not $2.50. The final price for Members would be $6.00, while non-members would only receive the 25% for a total of $7.50.
Just a difference in views of how to calculate this. And maybe there is a reason why it done the way you did it, or maybe another work around method.
Thanks,
Wesley
Current Method
Event Price: $10.00
Member Discount: 20%
Early Bird Discount: 25%
--- So, this calculates to $10 - $2 = $8.00 for the Member Discounts.
And then it still calculates the Early Bird Discount based on the full price of $10, which in this case is 25%, for a $2.50 discount, and subtracts that from the $8.00 amount. Thus the price is $5.50
BUT, the way I envision the calculation to work is:
The Early Bird Discount should calculate from EITHER the full price if the user is not a member OR for Members, the discounted amount, which in this case is $8.00. Thus 25% of 8.00 is $2.00, not $2.50. The final price for Members would be $6.00, while non-members would only receive the 25% for a total of $7.50.
Just a difference in views of how to calculate this. And maybe there is a reason why it done the way you did it, or maybe another work around method.
Thanks,
Wesley
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 8 months ago #65684
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Discount Calculation
Hi Wesley
To be honest, I don't know which way is correct. However, the extension has been working like that for years, and I don't see anyone complain about it, so I suppose the current method is correct (it might not correct but it works for most customers), so I could not change it in the extension
If you really need the change, you can submit a support ticket and we can help modify code for you
Regards,
Tuan
To be honest, I don't know which way is correct. However, the extension has been working like that for years, and I don't see anyone complain about it, so I suppose the current method is correct (it might not correct but it works for most customers), so I could not change it in the extension
If you really need the change, you can submit a support ticket and we can help modify code for you
Regards,
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.