A Product Constraint that can retrieve an attribute value when they are related using an inherited c
I would like to see if anyone can suggest a product constraint that can look into a relationship and retrieve the attribute values.
Example:
1.Root
2. Child Product
3.1 Grand Child Product A Attribute 1: Volume = 3000 Atrribute 2: Colour = Red
3.2 Grand Child Product B Attribute 1: Volume = 2000 Atrribute 2: Colour = Green
3.3 Grand Child Product C Attribute 1: Volume = 4000 Atrribute 2: Colour = Blue
Where each grand child product has its own class and inherits a common class.
Is there a way to write a constraint rule at the Child product level or Root level that will say if any combination of attributes from a relationship that contains the grand child products where