Drupal 8 Commerce 2
What I have:
-
Product Category taxonomy – List of product categories.
-
Product Color product attribute – List of product colors. Has a Product Category entity reference field that associates the color with particular product categories. (Because all products are not offered in all colors.)
-
A product variation type that has a Product Category entity reference field that associates it with a particular product category.
-
A Product View with a Product Category contextual filter that only shows products for the selected category. The View has a Product Color exposed filter.
What I want:
- Limit the color choices offered in the exposed filter to the Product Colors for the given Product Category.
I think the solution will involve an Entity Reference to a View of the Product Colors, but I’ve yet to make it work.