How to Use Expressions
Expressions help arithmetical formulas to achieve the desired value. With expressions in the eBay Integration addon you can set the necessary values for products price after synchronization or export.
When performing export or product synchronization, you have an opportunity to use formula for price generating on the "Options" step:
- During export:
- During product synchronization:
To open the drop-down list with all available indicators, which you can use in formula, right-click or press the [Insert] button.
Choose the one you need and using symbols "add/subtract", "multiply/divide" generate the expression.
For example, you want to reduce your special products price after export on 10%. In order to do that, select necessary field macros from the drop-down list and use such formula:
In other words, this formula reflects the following arithmetical actions: special price - 10 %, where special price is 100 %, a decrease of 10 % is equal to 90% (100% - 10%), namely, current special price value will be changed in 0.9.
Press the test button (see the screenshot below) to check the correctness of the created formula:
Keeping this principle for formula generating you may get the required price value for other product price field, such as: product_price_net, group_price, tier_price etc.