Returns the sum of the specified numerical attribute/value combination among the sibling configurations with a higher index.
double NextSiblingsAttributeSum(string name; [string productTitle])
name |
The name of an attribute. |
productTitle |
Optional filter to only include configurations of the specified product. |
Example
NextSiblingsAttributeSum("Weight")
Returns the sum of the double or integer attribute "Weight" from all sibling configurations with a higher 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 a template expression rule.