Developer forum

Forum » Rapido » Rapido (or just DW 9.4.9) - Meta, title and description not rendered on eCom pages

Rapido (or just DW 9.4.9) - Meta, title and description not rendered on eCom pages

Jacob Storgaard Jensen
Reply

Hi,

I'm implementing a Rapido shop and just noticed that no matter if you are on a product list or a product details view, no meta fields are outputtet for the group or product... The template tags does however have the correct text when including TemplateTags() in both list and details templates.

It might be a general DW 9.4.9 issue!?

I know I can hack it with Snippets, but I'd rather not - then I start tampering too much with the Rapido templates i think...

Any ideas?


Replies

 
Jacob Storgaard Jensen
Reply

P.S. just tried bumping it up to 9.4.14 = no change...

 
Nicolai Pedersen
Reply

Might be an old bug of master.cshtml

Check that it looks like this:

<html lang="@Pageview.Area.CultureInfo.TwoLetterISOLanguageName">
<head>
    <meta charset="utf-8" />
    <title>@Model.Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
    <meta name="robots" content="index, follow">
    @Model.MetaTags
 
Jacob Storgaard Jensen
Reply

Hi Nicolai,

It is exactly like that, and I downloaded Rapido 2.0.1 today so it should be the newest released version.

 
Jacob Storgaard Jensen
Reply

Hmm... weird, right now it's just the groups that lack the Meta title and description.
I'm also checking all settings up against an untampered dw hosted bike shop demo, same issue there it seems...

 
Lars Britz
Reply

Hi Jacob, 

if you use the standard rapido-template (ProductsRender.cshtm) then it will not work on 9.4.14. However, if you use the template Productlist.cshtml, then it will. Don't ask my why - I have not had the time to investigate this myself. 

 
Jacob Storgaard Jensen
Reply
Original message by Lars Britz posted on 22/06/2018 20:19:26:

Hi Jacob, 

if you use the standard rapido-template (ProductsRender.cshtm) then it will not work on 9.4.14. However, if you use the template Productlist.cshtml, then it will. Don't ask my why - I have not had the time to investigate this myself. 

Hi Lars,

Yep, I get the same behavior with that template, but can't use that one because I need the filtering stuff :-)

 
Jacob Storgaard Jensen
Reply
Original message by Lars Britz posted on 22/06/2018 20:19:26:

Hi Jacob, 

if you use the standard rapido-template (ProductsRender.cshtm) then it will not work on 9.4.14. However, if you use the template Productlist.cshtml, then it will. Don't ask my why - I have not had the time to investigate this myself. 

Hi again Lars,

If I remove this @GetValue("DoNotRenderProductListTemplate") from the ProductsRender.cshtml it renders the Meta tags... freeking weird!

 
Lars Britz
Reply
Great stuff, that it is narrowed down to this tag. Maybe some of the rapido developers can give an explaination as to why that tag is preventing the meta tag from being showed.

 

You must be logged in to post in the forum