2️⃣The "Product price calculator" tab on a product editing page and its features

  1. Click the Product price calculator tab and you will see the following sections:

  1. In the Fields section please specify:

Name - the name of a dimension parameter (for example, width).

Position - the position of the dimension parameter in the formula.

Default value - specify a default numeric value for a dimension parameter which will be shown in the storefront for a customer.

Abbreviation - the name for the unit of measurement (for example, cm, meter, inch, etc.).

Minimum – the minimum allowed numeric value which can be entered by a customer. If a customer enters a number that is less than the allowed minimum, he will see an error message and his number will be replaced with the allowed minimum.

Maximum - the maximum allowed numeric value which can be entered by a customer. If a customer enters a number that is bigger than the allowed maximum, he will see an error message and his number will be replaced with the allowed maximum.

Selectbox - Use this field if you would like to allow customers to choose necessary dimensions from a selectbox (customers won't be able to enter them manually). Note! First you need to fill out all fields in the Fields section and enter a Formula, press Save and the checkbox below the Selectbox will appear. Tick this checkbox to use the selectbox. Don't tick it, if you don't need to use it.

Step - Use this field if you choose the Selectbox. Type in the step for numeric values which will be chosen by a customer from a selectbox.

Additional - Use this field for inches or yards. Here type in the part which goes after /. In the storefront the selectbox for a fractional part will appear. For example, if you entered 2 in the Additional field in the admin back-end, fractional part will look like 0, 1/2. If you entered 4, the fractional part in the storefront will be 0, 1/4, 1/2 (namely 2/4), 3/4. Thus, the figure which goes before / starts from 0 till the Additional - 1 (step is always 1). The figure that goes after / is the Additional value.

Additional Abbreviation - the name for the additional unit of measurement (inch).

Click on the plus icon to add a new field.

  1. Options section

If the product has options, you will see the Options section. Options section includes the option values how they should be used in a formula.

  1. Formula section

Create a formula in the Formula section according to the examples provided below on this page.

  1. Formula description

Here you can input the description of the formula. This formula description will be displayed in the storefront below a product title, explaining customers how the calculator works. If you leave this section empty, customers will see the “Calculate your price” line below a product title.

  1. Apply formula to other product

Click the Add product link to choose the products where you would like to apply the created formula.

Please note! Only a formula without options will be applied correctly. If a formula has options and you applied this formula to other products, please check and change the options id values in the formula or remove them if they are not necessary. Also, if you apply a formula to a product that already has a formula, it will be rewritten.

Last updated