...
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]] |
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