Let's consider our example Online order form.
In this template, we have product fields to select and it will automatically adds the price to the payment gateway.
For an additional price, we can add a single-choice field with two options for standard packaging and gift wrapping, and for each of them. So we write it like this:
Standard Packaging- 5€
Premium Gift Wrapping- 15€
You can also add other types of fields such as multi-choice or dropdown fields.
Add logic for calculating the total price
On the top of your page, click on the “Logic” tab, and from the right side menu, select “Advanced logic“.
In our example, after the packaging options question, add the condition:
If the answer is option 1, then +Add 5 to the price,
And another condition:
If the answer is option 2, then +Add 15 to the price
Now by choosing each of these fields, the packaging price will be added to the total price on your form.
Use answer piping to show the total price at the end of your form
If you want to show the total price(product field price + additional price) at the end of your form or in the success message, follow these steps:
Add a content field to pipe the calculation of "total price"
To display the total price at the end of your form or in your success pages, you should use the variable ID for answer piping like this:
{{price}} OR @price
Now, the submitters can see the total calculation of their order at the end of the process.
🧩 Template: