How to automatically calculate the size of a variant
An example of how to use the calculate action
Last updated
An example of how to use the calculate action
Last updated
To make a rule that will calculate the volume of a based on the dimensions of that , make a that when any of the dimensions change.
Then add an and choose "Calculate value". When configuring the click "+Add math calculation" and choose "Add math operation". In this example we start by multiplying the height and width. That result is then multiplied with the length. Finally that result is multiplied with 0,001 to make sure the units are correct.
Finally choose what the result should be written to.