The way I do it is pretty simple. I create a block. I establish a relationship of product reference which gives me all of the fields I need to choose from to build my view. I then create a contextual filter: Content: Has taxonomy term ID. I select Provide default value and from that list i choose Type Taxonomy Term or ID. This should work. Put a term id number in the auto preview field at the bottom of the view and you should see your contextual results. That gets the data you want. Now just play with layout view. Be sure and filter the view by product delta or you will get multiple instances of same product if they have variations. Be sure product relationship is not selected on this filter or it won't work. Now that the view is ready you can insert it into content any number of ways. My preferred way is a block field in display suite. Good luck. Kevin
Comments
Hi kasperak
The way I do it is pretty simple. I create a block. I establish a relationship of product reference which gives me all of the fields I need to choose from to build my view. I then create a contextual filter: Content: Has taxonomy term ID. I select Provide default value and from that list i choose Type Taxonomy Term or ID. This should work. Put a term id number in the auto preview field at the bottom of the view and you should see your contextual results. That gets the data you want. Now just play with layout view. Be sure and filter the view by product delta or you will get multiple instances of same product if they have variations. Be sure product relationship is not selected on this filter or it won't work. Now that the view is ready you can insert it into content any number of ways. My preferred way is a block field in display suite. Good luck. Kevin