diff --git a/classes/Category.php b/classes/Category.php index 9d998760e..1e4246265 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -652,7 +652,7 @@ class CategoryCore extends ObjectModel LEFT JOIN `'._DB_PREFIX_.'product_tax_rules_group_shop` ptrgs ON (p.`id_product` = ptrgs.`id_product` AND ptrgs.id_shop='.(int)$context->shop->id.') LEFT JOIN `'._DB_PREFIX_.'tax_rule` tr - ON (p.`id_tax_rules_group` = tr.`id_tax_rules_group` + ON (ptrgs.`id_tax_rules_group` = tr.`id_tax_rules_group` AND tr.`id_country` = '.(int)$context->country->id.' AND tr.`id_state` = 0 AND tr.`zipcode_from` = 0)