Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Fee formulas

  • cork
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 years 2 weeks ago #10056 by cork
Fee formulas was created by cork
Hi, is there a fee formula that will calculate a different price for a certain number of items?

For example, I have 10 t-shirts that cost €10 each. But if the user enters 11 or more, the t-shirts are €8 each.

This formula doesn't work:

([FIELD_VALUE] > 10) ? [FIELD_VALUE]*8 : [FIELD_VALUE]*10


What formula would I use here?

Thank you.

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

Moderators: Tuan Pham Ngoc