From 988d4ce64c06e006cd05a91e95a4a73090c7a508 Mon Sep 17 00:00:00 2001 From: Audrius Date: Tue, 1 Sep 2026 03:40:10 +0200 Subject: [PATCH] Respect the country tax label setting on the product page The product page showed "No tax" whenever taxes were disabled, without consulting the country's "Display tax label" setting that the branch just below it already honoured. A merchant who turned that label off still saw a tax statement on every product. Gate both branches on the setting, the way #25882 did for the cart summary and the order confirmation table. --- templates/catalog/_partials/product-prices.tpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/catalog/_partials/product-prices.tpl b/templates/catalog/_partials/product-prices.tpl index 400c04dc..bc6fde85 100644 --- a/templates/catalog/_partials/product-prices.tpl +++ b/templates/catalog/_partials/product-prices.tpl @@ -91,10 +91,12 @@ {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 $configuration.display_taxes_label} + {if $configuration.taxes_enabled} + {$product.labels.tax_long} + {else} + {l s='No tax' d='Shop.Theme.Catalog'} + {/if} {/if} {hook h='displayProductPriceBlock' product=$product type="price"} {hook h='displayProductPriceBlock' product=$product type="after_price"}