Using formulas to calculate price for each option

Posted by:

There are many fields (like checkboxes and dropdowns) where you can set a fixed value for each item

But you can also use formulas to change the price of each item dynamically, to do se follow these steps:

1.- Select the price type “Formula Per Item”

2.- Define the formula

3.- That’s it now each option will use that formula to calculate its price

Using options information

If ...

Continue Reading →
0

Field Functions

Posted by:

Some fields have special actions called functions, these functions are used to retrieve specific information from a field. You can see the functions of each field by adding a dot after a field in a formula like this:

$Field 1$.

You can use these function anywhere in the formula, for example you could use it in a condition like this:

Continue Reading →
0

Conditions

Posted by:

Introduction

You can create conditions using an structure like this

if(comparison)
{
  return value
}

or if you prefer you can use a shorter structure like this:

if(comparison)
    value

Replace “comparison” with the comparison you want and “value” with the value that need to be used, example:

In this condition if field 1 has a value less than 10 the value ‘1’ will be used by this formula

You can use multiple if ...

Continue Reading →
0

Introduction

Posted by:

Similar to excel a formula is a way for you to create your own calculations to define things like the price of a product or the text that a box is going to have.

You can select the price type “Formula” to create a formula to define the price of a field
Continue Reading →
0