I have products that have a term reference field called “Ingredients”, when the user enters a product, they should add all the related ingredients in this field.
I also have links on the left side of the page that lists all the ingredients. My goal here is to create a view to display all products that include a specific ingredient from that term reference by using a contextual filter a pulling the ingredient value from the url (products/ingredients/%)
I have a view set up to display products of type=all with a contextual filter of Commerce Product: Ingredient, and a relationship of Commerce Product: Ingredient, however I cannot get any products to display. All products currently have at least one ingredient added in their ingredient term reference, so I know the way I have the view configured in incorrect.
My Contextual filter settings look like:
I’m not sure if I should switch the product over to use taxonomy instead of using term reference field or if there’s a way to accomplish this with the term reference field.
Any help is appreciated! TYIA!