How to override LargeThumbnail for ProductContent

Vote:
 

Hello,

We have Episerver CMS 8.8.2 and Commerce 8.13.2

We want to use another field for product media instead of CommerceMediaCollection. And it was successfully implemented with name ProductCommerceMediaCollection.

And now we want to see all thumbnails in CMS from that new field.

When I try to override CommerceMediaCollection property like below, it affects only thumbnail on product list table in CMS, but not on product page near the Name, Display Name, Code fields:

public override ItemCollection CommerceMediaCollection
{
get
{
return new ItemCollection(this.ProductCommerceMediaCollection.Cast());
}
set { }
}


Could you advise please, how to override this main image for product?

#179852
Jun 23, 2017 10:33
Vote:
 

Volodymyr did you ever get this figured out?

#198749
Nov 05, 2018 20:51
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.