Vote up!
Vote down!

Can I set up a grid view of products just with an image that links through to more details about that product?

I'm really struggling with this and so far have yet to find anyone with an answer having searched for a couple of weeks now.

I'm almost at the point of giving up with Drupal Commerce, but don't want to as think it has the potential of offering more than Ubercart.

Unless I can generate this view, then I can go no further with setting up and populating the store.

I posted over here:


(see: Getting a 4x2 image display of products -- help)

And have gone through setting up all the views that I had previously tried to make sure I hadn't missed anything.

None of these views demonstrate how to link to content for images.

If I select "Link to content", the link shows as going to the admin pages - not what I want.

All I want to do is create a 4 x 2 grid of product images that link to more details about the product.

Is this at all possible? I'm beginning to doubt it - please lift my spirits and say yes it is and how I go about creating this display.

Huge thanks.

Asked by: jenifer
on March 5, 2013

1 Answer

Vote up!
Vote down!

Hi Jenifer,

This is a bug and I don't know if it is in views or commerce... but the solution is to use the rewrite output field in views. It is below the field style settings. First, create link to your content and then check the hide field option. Next, add your image. Within the rewrite output of image field settings you will now have your link and image tokens available. Using standard html markup wrap your image with <a href="link token here">image token here</a>

I think that will solve it for you. Cheers Kevin

Answer by: drupalability
Posted: Mar 6, 2013


Still haven't fathomed this out after all this time :-(
Would have thought that this is a must for a commerce site, else how with visitors be able to see the product images?

- jenifer on July 30, 2013