SimplCommerce
SimplCommerce copied to clipboard
Use News Module in product widget
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.
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