Welcome, Guest
Username: Password: Remember me
Discussion about the Yendif Event Booking & Management extension.

TOPIC: Subtract in a field

Subtract in a field 10 months 6 days ago #425

  • Sonya Telfair
  • Sonya Telfair's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 0
I have created a checkbox field and I want one of the selections to subtract $100 from the total. I tried entering -100.00 but that doesn't seem to work. Any advice?
The administrator has disabled public write access.

Subtract in a field 10 months 5 days ago #426

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 155
  • Thank you received: 24
  • Karma: 3
- Open {root}/administrator/components/com_yendifevents/libraries/utils.php

- Scroll down to the function getCustomFee

- Replace the return value from return max(0, $fee); to return $fee;

- That's it. Save the changes and try now.

Hope, this solved your issue !!!
The administrator has disabled public write access.
Time to create page: 0.144 seconds