Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

You can combine attribute values with text values or define math operations and conditions. You can select available macros to see example statements.

  1. Macros - You can use predifined macros for certain type of operations

    • Attribute Merge - Simple merge of selected attributes - {{name}} - {{sku}} - {{color}}
    • Increase Price by 15% - Increase of selected price by 15 % - [[round({{nkp_price_final_include_tax}} * 1.15, 2)]]
    • Increase price by 25 - Increase of selected price by certain amount - [[round({{nkp_price_final_include_tax}} + 25, 2)]]
    • Empty Math Operation - Various math operations - [[ +-*/ ]]
    • Empty Attribute Condition - [[('{{meta_title}}' != '')? '{{meta_title}}': '{{name}}';]]
    • Attribute Value condition - [[ ( {{nkp_price_final_include_tax}} > 100 ) ?  {{nkp_price_final_include_tax}}: {{nkp_price_final_include_tax}} + 20;]]

  2. Magento Attributes - You can combine any of 

 

 

 

Napsat podle toho jak se to pouziva na testu

Inspirace:

Attributes Mapping#Attributemerging

Attributes Mapping#Pricemargin

 

/wiki/spaces/koongo/pages/788136

/wiki/spaces/koongo/pages/788136

/wiki/spaces/koongo/pages/788136 - Javascript funkce volat v koongo connectoru nejdou

 

 

 

  • No labels