Pricing formula

Build complex pricing

The platform has a versatile way of pricing for configurators and one of its key features is the ability to enter a pricing formula that uses basic mathematical calculation and variables.

Pricing Formula

Examples

  1. Teacup Configurator

Let's say we have a Teacup configurator coming in 4 colors: White, Gray, Red and Blue. Each color will come with a different price.

In this situation we can start with a basic price, let's say for the White one the @base_price is 20$.

Base Price = 20$.

Price the options by using @price_options variable. For each variant we have a price.

White = 0$

Gray = 2$

Red = 4$

Blue = 6$

All of the above can go in the @total_price built in variable by default.

For a red teacup the Total is $24 (base price 20 + red color 4). We don’t have Variables here and the formula is basic.

  1. Table Configurator

This time we have a table coming in 2 colors and able to change size Width and Depth.

@base_price = 120$

But this time, I want to create a more complex price formula therefore, I will use variables here for both colors and size.

Add Variables

@colors (@price_variable) - ‘from options’ variable type

White - $40

Green - $48

@size - (@price_variable) ‘for options’ variable type

Width - $2 (size_number*$2) i.e. 200cm x $2

Length - $2 (size_number*$2) i.e. 160cm x $2

@sales_tax - (@price_variable) ‘custom’ type of variable

Price - 0.01 (10%)

Now, I build my price formula from variables. First, I remove the default variable @total_price.

I add:

(@basic_price + @colors +@size) + ((@basic_price + @colors +@size)*@sales_tax)

Based on the above formula, the configurator will calculate the total price.

Typical example of a pricing formula using variables

Last updated

Was this helpful?