Dynamic pricing
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.

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.

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

How to add dynamic pricing via HyperPortal
To add a new option, open the CMS section and go to Website > 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 to achieve different goals.
- 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 (Greater Than / Greater Than or Equal)
- LT / LTE - numbers comparison (Less Than / Less Than or Equal)
Examples of query
Price greater than 10000
{ data: 10000, field: 'computedPrice', operator: 'GT', }
Any model excluding "Golf"
{ data: 'Golf', field: 'productLine.title', 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.
