Views: 7.x-3.0-rc1
Commerce: 7.x-1.0

I am currently using the above versions of Views + Commerce. I currently have a few hundred thousand 'products' that include an image, color, size, finish in all the different variations. Used Commerce Bulk Operations for that one. Anyways....

I have a Product Display Node called "Displayed Products". All I'm trying to do is create a view that spits out the TITLE of all my displayed products and 1 single image next to that Displayed Products TITLE.

Now how I am doing this in Views 3 is create a view based on fields. Display the node TITLE where filter criteria is Content Type = "Displayed Products". Everything is okay so far. I have a few showing all my Displayed Product TITLES.

Now to get the image I use Relationship (Product Reference). I force that relationship and then under Fields I add (Product) Commerce Product: Image.

My issue is now I have a view showing the same title over and over and then all the different 'images'. One line per 'combination' of product and essentially end up with TITLE A IMAGE A, TITLE A IMAGE A, TITLE A IMAGE B, TITLE A IMAGE B.

Basically, I just want 1 title and 1 image per product node. I tried to use under advanced DISTINCT but that doesn't work. I don't care WHAT image is displayed with the title, i just need only 1 and there doesn't seem to be a the hook in the image for product reference like the taxonomy and other items when you reference and use the image has.

Why does product referenced field "IMAGE" not have a MULTIPLE FIELD SETTINGS like regular node IMAGE.
+++++++++++++++++++++++++++++++++
MULTIPLE FIELD SETTINGS
Display all values in the same row
If checked, multiple values for this field will be shown in the same row. If not checked, each value in this field will create a new row. If using group by, please make sure to group by "Entity ID" for this setting to have any effect.
Display type
Unordered list
Ordered list
Simple separator
Separator

Display value(s) starting from (first item is 0) Reversed (start from last values)
++++++++++++++++++++++++++++++++++++++++++++++++++

This seems like the only way I can have it show only 1 image. Any ideas how to fix my view so it only shows 1 TITLE of the Product Display and 1 IMAGE out of the many handful of images referenced to that product display???

Comments

rszrama’s picture

Status: Active » Closed (duplicate)