...
Macros - You can use predefined macros for certain type of operations
Code Block title Example // 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]]
Attribute Merge - Simple merge of selected attributes
Code Block title Example // optimization of URL for better SEO {{brand}}-{{size}}-only-{{price_incl_vat}}-{{currency}} >> Adidas-L-only-55-Euro // optimization of product names for better SEO {{brand}} T-shirt {{name}} {{size}} for only {{price_incl_vat}} {{currency}} >> Adidas T-shirt DoItNow XL for only 55 Euro // note double curling brackets surrounding attribute codes
Increase Price by 15% - Increase of selected price by 15 %
Code Block title Example // increasing the price by 15% [[round({{nkp_price_final_include_tax}} * 1.15, 2)]] // note double curling brackets surrounding attribute codes
Increase price by 25 - Increase of selected price by certain amount - [[round({{nkp_price_final_include_tax}} + 25, 2)]]
Code Block title Example // increasing the price by 25 [[round({{nkp_price_final_include_tax}} + 25, 2)]] // note double curling brackets surrounding attribute codes
- Empty Math Operation - Various math operations
Empty Attribute Condition - - Export non-empty attribute value
Code Block title Example // if value of the 'meta_title' attribute is not empty use 'meta_title' value, otherwise use value of the 'name' attribute [[('{{meta_title}}' != '')? '{{meta_title}}': '{{name}}';]]
Attribute Value condition -
Attribute Value condition - [[ (Code Block title Example // use cases for shipping cost export // if products price is higher than 100 then increase shipping cost by 20, else export base shipping cost [[ ( {{nkp_price_final_include_tax}} > 100 ) ?
{{nkp_price_final_include_tax}}: {{nkp_price_final_include_tax}} + 20;]]
- Magento Attributes - You can combine any of
...