From d280b8868ae1d8e84aa9bfd7ce254bd49da8123d Mon Sep 17 00:00:00 2001 From: Isabelle Date: Thu, 25 Jun 2026 14:43:32 +0200 Subject: [PATCH] feat(extra-features): New translations & noindex -Added new translations for shortened tax for NL -Made head.tpl noindex by default, you need to remove this before going live --- falcon/templates/_partials/head.tpl | 6 ++++-- .../catalog/_partials/product-prices.tpl | 18 +++++++++++++----- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/falcon/templates/_partials/head.tpl b/falcon/templates/_partials/head.tpl index 1472005..e8e5b8b 100644 --- a/falcon/templates/_partials/head.tpl +++ b/falcon/templates/_partials/head.tpl @@ -36,9 +36,11 @@ {/block} - {if $page.meta.robots !== 'index'} + {* {if $page.meta.robots !== 'index'} - {/if} + {/if} *} + + {if $page.canonical} {/if} diff --git a/falcon/templates/catalog/_partials/product-prices.tpl b/falcon/templates/catalog/_partials/product-prices.tpl index fd88a99..037a7b8 100644 --- a/falcon/templates/catalog/_partials/product-prices.tpl +++ b/falcon/templates/catalog/_partials/product-prices.tpl @@ -87,11 +87,19 @@ {hook h='displayProductPriceBlock' product=$product type="weight" hook_origin='product_sheet'}
- {if !$configuration.taxes_enabled} - {l s='No tax' d='Shop.Theme.Catalog'} - {elseif $configuration.display_taxes_label} - {$product.labels.tax_long} - {/if} + {if !$configuration.taxes_enabled} + {l s='No tax' d='Shop.Theme.Catalog'} + {elseif $configuration.display_taxes_label} + {if $language.locale = "nl-NL"} + {if $product.labels.tax_short == '(tax incl.)'} + {l s='incl. BTW' d='Shop.Theme.Global'} + {else} + {l s='Excl. BTW' d='Shop.Theme.Global'} + {/if} + {else} + {$product.labels.tax_long} + {/if} + {/if} {hook h='displayProductPriceBlock' product=$product type="price"} {hook h='displayProductPriceBlock' product=$product type="after_price"}