Metis Smart Modeling - Rules
From Metis Documentation
(→Minimal Selection) |
(→Formulas) |
||
Line 602: | Line 602: | ||
Click on add. A window opens where the new rule will be created. | Click on add. A window opens where the new rule will be created. | ||
In the “Type” field, select “Formula” from the dropdown list. In the “comment” field, enter “Shipping.” | In the “Type” field, select “Formula” from the dropdown list. In the “comment” field, enter “Shipping.” | ||
- | Click on the add button near the “input” field. A window opens where it is possible to select positions, variables, and attributes. Select “Attributes.” | + | Click on the add button near the “input” field. A window opens where it is possible to select positions, [[Metis_Smart_Modeling_-_Variables|variables]], and attributes. Select “Attributes.” |
Select “weight” and click on confirm. | Select “weight” and click on confirm. | ||
- | Click on add again. Select | + | Click on add again. Select “[[Metis_Smart_Modeling_-_Variables|variables]]”. Search for the [[Metis_Smart_Modeling_-_Variables|variable]] “$Shipping_Type.” Select it and click on confirm. |
Click on the add button near the “Output” field. Search for the “shipping and handling” position. Select it and click on confirm. | Click on the add button near the “Output” field. Search for the “shipping and handling” position. Select it and click on confirm. | ||
In the “Quantity =” field, enter the following formula “(Var1*Var2)/2" | In the “Quantity =” field, enter the following formula “(Var1*Var2)/2" |