// If default group of customer don't display tax, do not use them

This commit is contained in:
PrestaEdit
2012-11-26 22:42:57 +01:00
parent f5d4fbccfd
commit 74f4942254
+3
View File
@@ -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;