Calculated values

Prices and totals worked out from the answers, shown to customers as they fill in the form.

A calculated value is a number your page works out from the answers: "subtotal = quantity × 12", "delivery = 15 if the distance is over 10 km, otherwise 5". Customers see it update as they fill in the form. When the order is sent, Rapid Cart works it out again itself and stores that result, so what you see is always right.

Add them under Calculated values in your settings, with Add a calculated value.

Writing one

Give it a Label and a Formula. Under the formula box is a list of what you can use: tap a question, another calculated value or one of the order's own figures to drop it into the formula. As you type, Reads as shows the formula back in plain words, with your labels.

A formula can use:

  • +, -, * and /, and brackets;
  • percentages, such as 12%;
  • comparisons such as >, < and ==;
  • if(condition, then, otherwise);
  • min(), max(), round() and abs();
  • the order's own figures: Price per item, Number of items and Order total.

What each kind of answer counts as:

  • Number and Quantity: the number.
  • Yes / no: 1 for yes, 0 for no.
  • Choice: the Value you gave that choice, such as 5 for "Small" and 8 for "Large". A choice without one counts as 0.
  • Body measurement: the measurement in centimetres.

If something can't be worked out, for example a division by zero, the value shows as "—".

Other settings

  • Show it as: an amount of money, a number or a whole number.
  • Who sees it: customers see it on the form and on their order, or only you see it on the order.
  • Show on invoices and receipts: as a line with the amount.

Using a value as the price

Use as the price offer fills the price on the form with the value, so the form proposes the price for the customer. If one of your questions is the number of items ordered, it reads Use as the price per item instead. Either way you still confirm the price with the customer.

After you save

Saving works your open orders out again with the new formulas: those that are new or accepted and not yet paid. Finished, declined and paid orders keep their values.

How many calculated values you can add depends on your plan.

We use a few cookies to count visitors and see which links bring people here, and Reddit's pixel to see whether our ads there work. None of them is set unless you accept. What we store