Hi Guys,
I have this situation:
2 websites on the same solution. One of the websites displays canonical URL correctly in product detail page, the other one does not.
For both solutions I am using @GetValue("MetaTags") in the master page for getting the meta attributes.
Both have, obviously, the same URL settings.
Main difference is how the Product catalog is used.
First one (that does not display the canonical) has a generic Catalog page, with ecom navigation and product catalog
Second one (that does display canonical link in product detail page) has separate pages for the main ecom sections, each page has ecom navigation and product catalog.
Both product catalogues have "Use first page in list as canonical URL" activated.
What I have noticed is that if I set something on the canonical attribute of the Catalog page, it is displayed. This makes me think that the system does not see the Product Detail page as an ecom Product Detail page but rather as a regular page.
I am using 8.7.2.2.
The bad example is :http://www.aperta.ro/catalog/articole-birou/lipiciuri-accesorii-birou/lipici-vinil-fix
The good example is: http://austral.dotfusion.ro/arhivare/arhivare/alonje/alonje-25-set (although the canonical link is not friendly)
Thanks,
Adrian