Vote up!
Vote down!

I don't want all Product Variations to show up in taxonomy product block

I've got a lot of product variations and I've added in Query Settings "Distinct" under the Views that shows all the products. And this works to remove all the variations. But I do the same on a block that shows only a certain taxonomy term and it shows every variation I've got...for some reason the "Distinct" setting doesn't work on blocks?

Thank you for your help.

Asked by: Hendrik Martens
on September 5, 2013

1 Answer

Vote up!
Vote down!

The trick here isn't to use distinct but to add a filter on the delta value of your product reference field. If you filter to 0, it will only show each product display node once, because it will filter out the joined records to only show the results from the first values of the product reference field.

Ryan Szrama
Answer by: Ryan Szrama
Posted: Sep 6, 2013


Hey Ryan , Can you please Describe the above solutions. Am Getting two , three variation of prices ! If i give Discount to any one variation
Product , and Number of variations Product M stuck .

- sameer_verma on September 20, 2013