diff --git a/templates/_partials/microdata-jsonld.tpl b/templates/_partials/microdata-jsonld.tpl index 7c50d7ba..54afcb23 100644 --- a/templates/_partials/microdata-jsonld.tpl +++ b/templates/_partials/microdata-jsonld.tpl @@ -86,7 +86,7 @@ "@type": "Product", "name": "{$product.name}", "description": "{$page.meta.description}", - "category": "{$page.category_name}", + "category": "{$product.category_name}", {if isset($product.cover)}"image" :"{$product.cover.bySize.home_default.url}",{/if} {if $product.reference}"mpn": "{$product.reference}",{/if} {if $product_manufacturer->name}"brand": { @@ -142,4 +142,4 @@ -{/if} \ No newline at end of file +{/if} diff --git a/templates/_partials/pagination-seo.tpl b/templates/_partials/pagination-seo.tpl index 2be67a26..ac46642a 100644 --- a/templates/_partials/pagination-seo.tpl +++ b/templates/_partials/pagination-seo.tpl @@ -29,7 +29,7 @@ {assign page_nb $smarty.get.page|intval} {/if} {$queryPage = '?page='|cat:$page_nb} - {$page.canonical = $page.canonical|replace:$queryPage} + {$page.canonical = $page.canonical|replace:$queryPage:''} {assign var="prev" value=false}