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 is recommended to place attributes that read the value of other configurations’ attributes at the bottom of the attribute tree to reduce the risk of circular dependencies. Another solution is to replace either the referenced or referencing attribute with a parameter that is set using an assignment expression rule.