Please post all pre-sales questions of all products on this forum

Placing a Quantity Field on Payment Form

More
9 years 2 months ago #77835 by Kevin
I would like to have quantity field on my form so that if someone wants to purchase more than 1 ticket to my event, they can do so and the form will automatically calculate the total ([quantity]*[price]=[total]).

How do I create this in Payment Form?

Here is a link to my page and the form I am using: www.leegroupinnovation.com/index.php/workshop/registration

Thanks.

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

More
9 years 2 months ago #77858 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Placing a Quantity Field on Payment Form
Hi Kevin

You can just setup a textbox custom fee field. You can read documentation at eventbookingdoc.joomservices.com/basic-s...ox-custom-field-type (it is written for a different extension but it works in the same way)

Tuan

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

More
9 years 2 months ago #77889 by Kevin
Replied by Kevin on topic Placing a Quantity Field on Payment Form
Thank you for your response. But I'm not sure it answered my question directly.

What formula do I put in the Fee Formula field to calculate (quantity) * (price)?

I attempted to use what is seen on this graphic, but it did not work:



Thanks.
Attachments:

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

More
9 years 2 months ago #77906 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Placing a Quantity Field on Payment Form
HI

You will need to replace [PF_TOTAL_AMOUNT] tag with a fixed number, for example, if the price is 50 per ticket, the formula needs to be

[FIELD_VALUE]*50

Regards,

Tuan

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

Moderators: Tuan Pham NgocGiang Dinh TruongMr. Dam