...
You can use predefined macros for certain type of operations
Attribute Merge
You can simply merge any selected attributes.
...
You can combine various Magento attributes to export required results.
Code Block | ||
---|---|---|
| ||
// decreasing the price by 5 [[{{price_final_include_tax}} - 5]] // use cases for shipping cost export // if product prices is higher than 50 then set shipping price as 3.5, else zero price Ci.e. free shipping) [[({{price}} > 50) ? 0 : 3.5]] // if products weight is higher than 100 then increase shipping cost by 10, else export base shipping cost [[{{weight}} > 100) ? {{shipping_cost}} : {{shipping_cost}} + 10]] |
...