Closed lenaorobei closed 4 years ago
Proposed schema for adding swatch data for configurable options.
{ products(filter: {sku: {eq: "configurable-product"}}) { items { ... on ConfigurableProduct{ configurable_options{ values { label swatch_data{ value } } } } } } }
SwatchDataInterface
@akaplya @paliarush
Approved
@lenaorobei Was just looking at this, shouldn't the swatch information also be available in the products aggregates?
Solution
Proposed schema for adding swatch data for configurable options.
Side notes
SwatchDataInterface
due to BC.Requested Reviewers
@akaplya @paliarush