From 439365849a479b7fb681afa2e273e07d1d904835 Mon Sep 17 00:00:00 2001 From: Klemart3D Date: Fri, 1 Mar 2024 15:35:38 +0100 Subject: [PATCH 1/3] 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 8152342b..c7fcb5ff 100644 --- a/templates/contact.tpl +++ b/templates/contact.tpl @@ -12,7 +12,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 32fe7980f26cfb2b21f27b5a15164fcd8e0e4fc1 Mon Sep 17 00:00:00 2001 From: Klemart3D Date: Fri, 1 Mar 2024 15:37:49 +0100 Subject: [PATCH 2/3] 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 7cf7380c..c56ec348 100644 --- a/templates/_partials/microdata/product-jsonld.tpl +++ b/templates/_partials/microdata/product-jsonld.tpl @@ -35,7 +35,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}, "brand": { @@ -80,7 +80,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} From 8078593158b6a41ef7ae4d6f96995e5ddbe152b7 Mon Sep 17 00:00:00 2001 From: Klemart3D Date: Fri, 1 Mar 2024 15:39:11 +0100 Subject: [PATCH 3/3] Replace "else if" by "elseif" --- modules/ps_mainmenu/ps_mainmenu.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ps_mainmenu/ps_mainmenu.tpl b/modules/ps_mainmenu/ps_mainmenu.tpl index 3a293c6c..deb3cc91 100644 --- a/modules/ps_mainmenu/ps_mainmenu.tpl +++ b/modules/ps_mainmenu/ps_mainmenu.tpl @@ -2,7 +2,7 @@ {if $nodes|count}
    {foreach from=$nodes item=node}