Skip to content

Commit

Permalink
Update microdata-jsonld.tpl
Browse files Browse the repository at this point in the history
Notice: Undefined index: category_name Solved
  • Loading branch information
bhavikvaghani authored Apr 22, 2019
1 parent f605ce1 commit 5bdcd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/_partials/microdata-jsonld.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -142,4 +142,4 @@
</script>
{/if}
{/if}

0 comments on commit 5bdcd08

Please sign in to comment.