You would need to customize this as there isn't Attribute relationships at this time in Zen Cart ...