Calculate Discount Before Another Custom Fee Field

  • berlin80210
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 weeks ago #80494 by berlin80210
Hello,

I have two custom fee fields on our registration form.

#1 fee field is the registration level
#2 fee field is an optional additional donation

There is an early bird discount of 20% for the next 30 days. How can this discount be applied before fee field #2?

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

More
8 years 2 weeks ago #80505 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Calculate Discount Before Another Custom Fee Field
Hi

You will need to customize the code of the extension in this case. What version of the extension you are using? Could you please attach a copy of the file components/com_eventbooking/helper/helper.php from your site so that I can take a look?

In new version (from 2.0.x), it is easy to customize it to work like that. However, if you using older version, it will be difficult

Tuan

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

Moderators: Tuan Pham Ngoc