# 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:

<figure><img src="https://content.gitbook.com/content/iN5rELM2bxv9vM9gRht9/blobs/LMBxvbZL1Nfw7JaYPyW6/3hcBb3v9N.png" alt=""><figcaption></figcaption></figure>

2. In the **Fields** section please specify:

**Name** - the name of a dimension parameter (for example, width).&#x20;

**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.&#x20;

**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.

3. &#x20;**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.

4. &#x20;**Formula section**

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

5. &#x20;**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.

6. &#x20;**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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alt-team.gitbook.io/product-price-calculator-en/usage/work-with-functionality/the-product-price-calculator-tab-on-a-product-editing-page-and-its-features.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
