Close

seo Description in some pages missing

ellerlor
one month ago
#21676 Quote
Avatar
  • 20
Hi I have modify some pages of this super theme for a better seo experience.
Maybe this could help someone:

file /view/catalog/productsbytag.cshtml
After the //title I have add the page description (and added in the configurations->languages the resource name: PageDescription.ProductsByTag and a inserted a value)

    //description
  Html.AddMetaDescriptionParts(T("PageDescription.ProductsByTag").Text);

I have done the same for the following pages:

View/product/newproducts.cshtml
  Html.AddMetaDescriptionParts(T("PageDescription.newproducts ").Text);
view/catalog/manuafacturerAll.cshtml
view/customer/login.cshtml
view/product/recentlyviewedproducts.cshtml
view/customer/register.cshtml
view/catalog/search.cshtml

In the following page
view/product/productreview.cshtml
I had a lot of duplicate pages so I have done this:

//description
Html.AddMetaDescriptionParts(Model.ProductName);  Html.AddMetaDescriptionParts(T("PageDescription.ProductReviews").Text);

Hope this will help someone

Lorenzo
todor.atanasov
one month ago
#21679 Quote
Avatar
  • Moderator
  • 147
Thank you for your suggestion!

You can suggest this to the nopCommerce team for future versions, as it is part of the default nopCommerce view templates and we are trying to stick to the default behaviour in nopCommerce.
Best regards,
Todor Atanasov
Nop-templates.com