Discountable and Non-Discountable Fees

  • Russell Noble
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 3 weeks ago #73471 by Russell Noble
Discountable and Non-Discountable Fees was created by Russell Noble
Hi,
I'm wondering if it's possible to allow fees to have discountable and non-discountable components?

As an example say the event fee is $20, transport fee $5, an optional lunch fee is $10 and an optional fee for a t-shirt is $12.

A discount coupon of 100% would be calculated as :
Event Fee: $20
Transport Fee: $5
Less 100% Discount: - $25
SubTotal: $0
Optional Lunch Fee: + 10
Optional T-shirt: + 12
Total = $22

In this case the event and transport fees are flagged as discountable, the lunch and t-shirt fees are non-discountable.

Looking I can't see a way of doing this but think it could be in each of the custom fields?

Possible?

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

  • Russell Noble
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 3 weeks ago #73472 by Russell Noble
Replied by Russell Noble on topic Discountable and Non-Discountable Fees
second thought, would it be possible to have fees flagged as added to the total AFTER the discount is applied. This would have the same outcome, non-discountable fees would just be added after the discount was applied...

Russ.

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

More
9 years 2 weeks ago - 9 years 2 weeks ago #73564 by Richard Langevin
Replied by Richard Langevin on topic Discountable and Non-Discountable Fees
I could use the non-discountable fees as well. It would be of great value to have the ability to mark a custom field as excluded from the coupon discount process.

One possible solution would be to include the field [DISCOUNT_RATE] in the custom field calculations so that the rate for this field could be divided by the discount rate to negate the impact of the discount rate on this field.

For instance. A registration of $90 for a dinner would be discounted by 20% for the early bird and result in a charge of $72.
However if the calculation was [FIELD_VALUE]/(1-[DISCOUNT_RATE]) the charge would be 90/.80 = 112.5 and when the 20% discount is applied the net effect is the desired $90

Any suggestions on a work-around would be appreciated.

Michael
Last edit: 9 years 2 weeks ago by Richard Langevin. Reason: clarify

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

  • Russell Noble
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 2 weeks ago #73704 by Russell Noble
Replied by Russell Noble on topic Discountable and Non-Discountable Fees
I needed this for an event so have a temporary hack that will exclude any variable which starts with "XD_" from the discount calculation. Only works for individual fee calculations, not groups.

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

More
8 years 8 months ago #80692 by berlin80210
Replied by berlin80210 on topic Discountable and Non-Discountable Fees
Russell Noble - can you share the hack please? Thank you!

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

  • Russell Noble
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 10 months ago #94901 by Russell Noble
Replied by Russell Noble on topic Discountable and Non-Discountable Fees
repost to see if any chance of non-discountable fields can be implemented?

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

  • Russell Noble
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago #106282 by Russell Noble
Replied by Russell Noble on topic Discountable and Non-Discountable Fees
@tuan What would it cost to have this developed? We need a flag custom fields that allows them to be included or excluded from the discount calculation. I have this working based on the variable name (ie if variable starts with XD_ then it is not included in discounts).

I have to make this change for every release, what would it cost to have it integrated?

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

More
6 years 11 months ago #109316 by Roel Delbon
Replied by Roel Delbon on topic Discountable and Non-Discountable Fees
YES!! I need this too!! Can it be added in the next release?

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

  • Shannon McColley
  • Offline
  • Junior Member
  • Junior Member
More
6 years 10 months ago #110430 by Shannon McColley
Replied by Shannon McColley on topic Discountable and Non-Discountable Fees
This would also be incredibly helpful to my organisation. Right now we're faced with having to completely recalculate our conference fees to account for the earlybird applying to everything on the registration.

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

More
6 years 10 months ago #110533 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Discountable and Non-Discountable Fees
It is now supported in version 3.3.0 of Events Booking, see www.joomdonation.com/forum/events-bookin...released.html#110532 (Item #7 in the list)

Hope to receive feedback about it

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc