Developer forum

Forum » Rapido » No Ecom for news

No Ecom for news

Gerard Kocks
Gerard Kocks
Reply

If I select a 'No Ecom; template for a news item, such as https://istwente.azurewebsites.net/latest-news/primary-meets-secondary-2018, the content will not be showed.

No_Ecom_news.png

Replies

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Gerard 

I am not sure what you are trying to say, as the content seem to be shown when I go to the link. But there is a bug in the ...Article.cshtml templates found in templates/Designs/Rapido that means that the cart will be shown on those pages.

To solve it, edit the template that contains the error. In this case "NewsArticle.cshtml". In the top, write @MasterPageFile("MasterNoEcom.cshtml") instead of @MasterPageFile("Master.cshtml")

 

Best regards
Karsten Thuen

 
Gerard Kocks
Gerard Kocks
Reply

Hello Karsten,

Many thanks, it works :-)

Best regards
Gerard

 

You must be logged in to post in the forum