Order form with price calculator + e-mail


Hi erveryone,

We would like to show you an order form that we’ve made for a customer who sells cheese for a typical dish in Switzerland (fondue).

The Brief

A form with the possibility to order cheese packet online (without paiement system).

  • We have : 3 types of cheese, 3 different prices ( X CHF / 100g ) and 7 different weights ;

  • Delivery mode : client go to the shop = 0 CHF | the order is sent by post = 12 CHF ;

  • Reduction : 10% if the total price is equal or superior to 100 ;
    You can see a live version in french here : https://reversewebagency.wixsite.com/order-form and read each step below.

Step 1 - Order information

  • You chose a type of cheese and automatically some information changes like the picture and the actual price of each product depending on the quantity . You can navigate between each of type and all the costs are added to the total price.

  • You chose a delivery mode and if you chose “delivery by post”, you have 12 CHF added to the total price.

  • If you have choose an amount of products, you click on the order button for the next step.

Step 2 - Order summary

  • You can check if all the order is correct and if it’s not the case you can come back to the order information with the “Edit order” button.

  • A client fills the form with his personal information and he can submit his order.


But the cool part here is that we don’t use a database and sendgrid for e-mail sending.
We just use the new Wix Forms with a few lines of code.
As you can see below, there are 3 hidden fields that takes the information directly in our form :


And … it works perfectly :


Special thanks to a new member of the team (Guillaume B.) who will be with us for 2 months because he is here for his studies. Monday, it’s was his first time working with Wix Editor so we are very impressed !

1 Like

How did you calculate the price at Prix Total?

I am looking for a solution like this. Is it possible to send the code? Or maybe a quick tutorial how to create this?

Is it possible to get this code?

its actually pretty easy to built it yourself, easiest approach using if statements, you may also use switch, or a basic alog.insert(data) will do:

@carlosgalvarez Hi, could you help me with the code to calculate the total price?