diff --git a/templates/_partials/microdata/product-jsonld.tpl b/templates/_partials/microdata/product-jsonld.tpl index 7ab1edb8..3f5f3253 100644 --- a/templates/_partials/microdata/product-jsonld.tpl +++ b/templates/_partials/microdata/product-jsonld.tpl @@ -49,7 +49,7 @@ "sku": "{if $product.reference}{$product.reference}{else}{$product.id}{/if}", "mpn": "{if $product.mpn}{$product.mpn}{elseif $product.reference}{$product.reference}{else}{$product.id}{/if}" {if $product.ean13},"gtin13": "{$product.ean13}" - {else if $product.upc},"gtin13": "{$product.upc}" + {elseif $product.upc},"gtin13": "{$product.upc}" {/if} {if $product_manufacturer->name OR $shop.name}, "brand": { @@ -89,7 +89,7 @@ {/if} "sku": "{if $product.reference}{$product.reference}{else}{$product.id}{/if}", "mpn": "{if $product.mpn}{$product.mpn}{elseif $product.reference}{$product.reference}{else}{$product.id}{/if}", - {if $product.ean13}"gtin13": "{$product.ean13}",{else if $product.upc}"gtin13": "0{$product.upc}",{/if} + {if $product.ean13}"gtin13": "{$product.ean13}",{elseif $product.upc}"gtin13": "0{$product.upc}",{/if} {if $product.condition == 'new'}"itemCondition": "https://schema.org/NewCondition",{/if} {if $product.show_condition > 0} {if $product.condition == 'used'}"itemCondition": "https://schema.org/UsedCondition",{/if} diff --git a/templates/contact.tpl b/templates/contact.tpl index 85bffb7f..70927ea1 100644 --- a/templates/contact.tpl +++ b/templates/contact.tpl @@ -32,7 +32,7 @@ {hook h='displayContactLeftColumn'} {/block} -{else if $layout === 'layouts/layout-right-column.tpl'} +{elseif $layout === 'layouts/layout-right-column.tpl'} {block name="right_column"}