Questions about Payment Form extension

Quantity calculation based on form amount

  • Nemis
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 4 months ago #140138 by Nemis
Hi,

I am trying to make simple calculation. Price defined in form as amount, multiplied with the field (quantity). Can that be done?

Nemis

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

More
3 years 4 months ago #140143 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Quantity calculation based on form amount
It should be possible. Could you please send me link to the form and explain how the fee should be calculated? I will then look at it and guide you with correct setup

Regards,

Tuan

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

  • Nemis
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 4 months ago - 3 years 4 months ago #140151 by Nemis
Replied by Nemis on topic Quantity calculation based on form amount
Hi,

I would only like to multiply price (defined in form) and quantity. Look at the screenshots.




link: milenapozderec.com/index.php?option=com_...atid=2:uncategorised

Currently it works because, I did make formula [FIELD_VALUE]*22.78. I would like to formulate formula in a way that amount is calculated based on form amount value.
Last edit: 3 years 4 months ago by Nemis.

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

More
3 years 4 months ago #140165 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Quantity calculation based on form amount
Hell Nemis

You can use [FORM_AMOUNT] tag in the formula. It will be replaced with the amount you set for the form

Tuan

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

Moderators: Tuan Pham Ngoc