Discussions

View of product displays.

I made a view of the product displays like in this video tutorial by Randy Fay:

http://vimeo.com/22746978

I have a 1 product display of a shoe, referenced to 12 producttypes (the same shoe in several sizes)

Now the view shows all the 12 producttypes seperate. And that's ofcourze not what i need.

I only want 1 shoe in the view, because why show the shoe 12 times with only another size.

How can i acomplish that?

Posted: Apr 10, 2012

Comments

nicholsonma on April 11, 2012

I ran into the same problem - everyone that creates a product display view where they have multiple products mapped to a product display will - and I found the answer here http://drupal.org/node/1200536. Comment 25 has the answer which is to add an additional Filter Criteria to your view and use the Content: Product:delta as the field and 0 as the value it must match. Your filter should then have a line like the one below.

(Referenced Product) Content: Product:delta (= 0)

This should be documented in an easy to find place!

The other common bug I ran into with views for product displays is that unless you grant all your users, including anonymous, the "View any product of any type" permission they won't be able to see this view. There are other workarounds to this issue too which can be found at http://drupal.org/node/1276450.