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?
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:
Could you advise please, how to override this main image for product?