Discussions

How can I use product images with panels

Hi,
if I right understood the connection between product and product-display, then fields like product-image and some more, created with cck belongs directly to the product, not to the display. Is this right? I not, please which fields belongs to the product and which to the display. Perhaps anyone has a few examples.
When fields like image or weight belongs to the product (what I still believe) .. how can I access the fields in a product-panel. The available content fields are only them out of the display, but (except the "add to cart button") no one from the product. So it seems to be impossible to show a product-image.
Can anyone help me?
Greetings
Horses Diner

Posted: Aug 16, 2011

Comments

horsesdiner on August 17, 2011

I found the really simple solution in http://drupal.org/node/1138322
At this point: Thanks Eclipse ... you solved also my problem perfectly

here is what he said:
___________________________________________________________________________________
Posted by EclipseGc on April 26, 2011 at 1:19pm
Status: active » fixed

Right, visit the "contexts" area for the variant, add a relationship to the product entity via your product reference field, and then you'll have a "Commerce Product" entity section in the content_type selector (i.e. all the product fields will be available).

Hope that helps.

Eclipse