I'm setting up a shop using Drupal commerce. I have a view that loads product nodes and product entities by reference. I have added a product image field to the view. This works fine using any display formatter except jQuery Gallery. If I change it to jQuery Gallery, no images get displayed.

I tried adding some "no results" text, and that shows, so I gather that galleryformatter does not see the images for some reason.

Any ideas what's up with that?

CommentFileSizeAuthor
#3 use-field-template.png23.41 KBmanuel garcia

Comments

manuel garcia’s picture

what version of views / drupal commerce are you using?

tripper54’s picture

Latest devs of both

manuel garcia’s picture

Category: bug » support
Status: Active » Fixed
StatusFileSize
new23.41 KB

OK, I just remembered, in the new views for d7, you MUST check the option 'use field template', that you can find in the settings for the field, under style settings (see attached screenshot).

Otherwise views uses its own tpl file and it doesnt print anything.

Unfortunately there is no way for us to prevent this situation, I spoke to merlinofchaos about it a while ago and we're just going to have to do this...

tripper54’s picture

Thanks, that did the trick.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kortas87’s picture

Thank you, it helped me too!

evgen’s picture

Thank you very much!!! it helped on 100%

summit’s picture

Hi, it would be great to give this complete explanation from #3 on the homepage of this great module!
Greetings, Martijn