Skip to main content
All CollectionsBuild & customizePayment methods
How to calculate the price in the form
How to calculate the price in the form

Calculate product prices, add shipping fees, and display the total amount before users pay. Easy setup, secure transactions.

Updated over a week ago

By following these simple steps, you’ll be able to create a customized order form that suits your specific needs in no time!

1. Create a form and customize it

Sign in to your Formaloo account, go to the dashboard, click on + New Formaloo, and choose form. Edit it from "edit base" to start building your form, or use one of our 200+ Templates.

2. Add product fields

You can add products to your online order forms or any form for selling items using the product field, which is a useful tool.

3. Additional pricing options

Here you can add extra amounts to your order - for example, if you need to include additional costs such as packaging or shipping fees. So you can add a single choice field, and add your options.

Then with the logic you can add these prices to the product price your client has already chosen.

4. Add logic for calculating the total price

Now it’s time to calculate the total price using the logic, where you can also connect and add additional prices to the product fields’ prices.

Once you choose a field, the logic tab will appear on the right sidebar, click on it and select advanced logic.

📝 Additional insights: Check how to use Formaloo Logic to boost knowledge about advanced logic.

🎥 Check the video tutorial for a detailed explanation:

5. Pipe the total price and show it to the user

It is a good idea to show the total price to the users at the end of your form, so the customers can see the calculation of their order before redirecting to the payment gateway.

📝 Additional insights: Learn more about how to use answer piping on your forms.

To pipe the total price on your form, You should add a content field and write inside the description part like this:

Total price: {{price}} or @price

6. Connect your payment gateway to your online order form

After you make your form, It’s time to connect it to your payment gateways to redirect customers to them. So by linking the form to a payment gateway, customers can make purchases quickly and securely.

From the settings tab, you can enable the form with payment option and select your payment method to connect your payment method to your online form.

📝 Additional insights: Learn more about "How to create a payment method" on your forms.

🗄️ Old dashboard: You can find detailed instructions on our blog.



Did this answer your question?