From 74f49422547ef3f647fd9c7e40594e8efbbf0e85 Mon Sep 17 00:00:00 2001 From: PrestaEdit Date: Mon, 26 Nov 2012 22:42:57 +0100 Subject: [PATCH] // If default group of customer don't display tax, do not use them --- classes/Product.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/Product.php b/classes/Product.php index ff4e1f8a1..763e103ac 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -2439,6 +2439,9 @@ class ProductCore extends ObjectModel && Configuration::get('VATNUMBER_MANAGEMENT')) $usetax = false; + if($usetax != false && Group::getPriceDisplayMethod($id_group)) + $usetax = false; + if (is_null($id_customer) && Validate::isLoadedObject($context->customer)) $id_customer = $context->customer->id;