From efc72e13cca6fbf2d5d206ceef8237761c97aac3 Mon Sep 17 00:00:00 2001 From: Audrius Date: Mon, 31 Aug 2026 06:14:52 +0200 Subject: [PATCH] Stop showing the No tax label when taxes are disabled The block showed "No tax" whenever taxes were off, ignoring the country's display tax label setting, while the cart summary requires both before showing any tax label. A shop that is not liable for VAT had the string on every product page and nowhere else. The product page now follows the same condition as the cart. --- templates/catalog/_partials/product-prices.tpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/catalog/_partials/product-prices.tpl b/templates/catalog/_partials/product-prices.tpl index 400c04dc..55124093 100644 --- a/templates/catalog/_partials/product-prices.tpl +++ b/templates/catalog/_partials/product-prices.tpl @@ -91,9 +91,7 @@ {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} + {if $configuration.taxes_enabled && $configuration.display_taxes_label} {$product.labels.tax_long} {/if} {hook h='displayProductPriceBlock' product=$product type="price"}