From 02436f3018e0455861d6096c82ec9906a434af63 Mon Sep 17 00:00:00 2001 From: Klemart3D Date: Fri, 1 Mar 2024 15:59:15 +0100 Subject: [PATCH 1/2] Replace "else if" by "elseif" --- templates/contact.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}
{hook h='displayContactRightColumn'} From ad1f2b2c9b8aef38bd0d2fb08193fd41783705a6 Mon Sep 17 00:00:00 2001 From: Klemart3D Date: Fri, 1 Mar 2024 16:00:29 +0100 Subject: [PATCH 2/2] Replace "else if" by "elseif" --- templates/_partials/microdata/product-jsonld.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}