cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Product image (thumbnail) not coming in backoffice.

prahlad_singh_rajput
Participant
0 Likes
1,193

Hi Experts,

I am facing issue show product image (thumbnail) in backoffice,

I defined a product(Like ; 1000000) and their multiple VarinatProducts (Like ; V1-1000000, V2-1000000, V3-1000000 etc.) Because product Image was common for the product '1000000' and that's Variants, its associated at product (parent)level only.

After that I used these variant products to create Order Entries. And added following backoffice configuration in my custom extension ***-backoffice-config.xml file to show product (thumbnail and picture) images in Customer Support prospective of backoffice.

     <list-view:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
         <list-view:column qualifier="product.code" label="customersupportbackoffice.order.hierarchy.productcode" />
         <list-view:column qualifier="product.baseProduct.code" label="**Base Product** " />
         <list-view:column qualifier="product.baseProduct.thumbnail" label="**Image**" />
         .....
         
     </list-view:list-view>
 </context> 
 

But I am getting all values (Like : code highlighted in YELLOW) of Parent product except Image (Highlighted in RED box). Pleasee suggest what I am missing here ? Is possible through xml configuration or need write custom renderer ?

Accepted Solutions (1)

Accepted Solutions (1)

former_member625836
Active Contributor
0 Likes

Hi ,

I'm guessing that you want to display an image in table instead of media path. To do so, you need to use a custom renderer for a column ( @spring-bean attribute in list-view:column element). I would advice using previewListCellRenderer.

Cheers, Jacek

prahlad_singh_rajput
Participant
0 Likes

Thanks Jacek, for this suggestion custom renderer helped me to resolve this.

Answers (0)