---
title: Dynamic pricing
slug: dynamic-pricing
createdAt: 2022-09-18T16:09:24.000Z
---

# How it looks on public website

Upon visiting a page of a vehicle, you can choose additional options for your order!

When choosing additional options, please pay attention to the vehicle price. Every selected parameter can increase or decrease the end price, or leave it the same.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/0H0QSiUyCcI1DApgpoLs0_image.png)

Available 2 types of additional options that affect the price: packets and single options.

**Single options**: you can choose any available quantity of options. Every one of them influences the end price.
**Packets**: includes a kit of options, you can choose only one of the available packets.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/jz6q-SF5kLfRQZZfiHRKa_image.png)



Pay attention, that when choosing packets or checkboxes, URL changes. Everyone selected a parameter, adding to the URL.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/uz9SHV8yL3vcCQXq5LHNP_image.png)



# How to add dynamic pricing via HyperPortal

To add a new option, open the CMS section and go to **Website > Dynamic pricing**

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/ArXG0A9QJzj6hW3Gll_2M_screenshot-2022-03-15-at-122037.png "Vehicle option for dynamic pricing")

Fill the title, price, and query of new option. To separate options for different cars, you must use the **query** field. If the option is suitable for all vehicles, leave the **query** field empty. In the example above, the option is applicable to vehicles whose model name contains the string "TGX" (productLine.title CONTAINS "TGX").

You can use different **operators&#x20;**&#x74;o achieve different goals.&#x20;

- IS / IS\_NOT  - text comparison (case ignored)
- EMPTY / NOT\_EMPTY - logical operator
- EQUALS / NOT\_EQUALS - strong comparison (case sensitive)
- CONTAINS / NOT\_CONTAINS - check if field contains substring (case ignored)
- GT / GTE - numbers comparison (**G**reater **T**han / **G**reater **T**han or **E**qual)
- LT / LTE - numbers comparison (**L**ess **T**han / **L**ess **T**han or **E**qual)

### Examples of query

**Price greater than 10000&#x20;**

\{
&#x20;   data: 10000,
&#x20;   field: 'computedPrice',
&#x20;   operator: 'GT',
}

**Any model excluding "Golf"**

\{
&#x20;   data: 'Golf',
&#x20;   field: 'productLine.title',
&#x20;   operator: 'IS\_NOT',
}

### Grouping options into packets

If you want to use some option packets (kits / groups) of options - just use field "Group". Add different options in one group and these will be composed to a single option packet.

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/LR3DTzUuN1wDaumm__r5G_screenshot-2022-03-15-at-122134.png "Adding option to a pack")



