SimplCommerce icon indicating copy to clipboard operation
SimplCommerce copied to clipboard

Use News Module in product widget

Open mas1515 opened this issue 4 years ago • 1 comments

i want call _NewsThumbnail.cshtml

in product widget How Call it ??

i tested it but it give this error

NullReferenceException: Object reference not set to an instance of an object.

mas1515 avatar Jun 23 '20 18:06 mas1515

If you are calling the news thumbnail in any module, you have to pass the news item to be displayed in the thumbnail. Just copy the logic inside the news controller then repeat it anywhere you would want to call news item

tavershimafx avatar Sep 01 '20 02:09 tavershimafx