Returns the sum of the specified numerical attribute/value combination among the sibling configurations with a lower index.
double PrevSiblingsAttributeSum(string name; [string productTitle])
name |
The name of an attribute. |
productTitle |
Optional filter to only include configurations of the specified product. |
Example
PrevSiblingsAttributeSum("Weight")
Returns the sum of the double or integer attribute "Weight" from all sibling configurations with a lower index.
Remarks
It's a good habit to put attributes that read values of other configurations’ attributes at the bottom of the attribute tree to reduce the risk of circular dependencies.