Displaying manufacturer logo on the product page...

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
bestofelectricals wrote:

I tried your code in ver 4.2 Beta but got the following error can you help in this regard.

The model item passed into the ViewDataDictionary is of type 'System.Collections.Generic.List`1[Nop.Web.Models.Catalog.ManufacturerBriefInfoModel]', but this ViewDataDictionary instance requires a model item of type 'System.Collections.Generic.IList`1[Nop.Web.Models.Catalog.ManufacturerModel]'.

Thanks in advance


As per error, You returning model - Nop.Web.Models.Catalog.ManufacturerBriefInfoModel from Action Method and using model  Nop.Web.Models.Catalog.ManufacturerModel in view page.

Both models should be the same.
4 years ago
You can view this Plugin:
https://nopplugin.com/show-manufacturer-with-products-on-home-page
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.