Fixed: notice on product page when service product has tax rule with no tax as option
This commit is contained in:
@@ -104,6 +104,7 @@ class TaxRulesTaxManagerCore implements TaxManagerInterface
|
||||
AND tr.`id_country` = '.(int)$this->address->id_country.'
|
||||
AND tr.`id_tax_rules_group` = '.(int)$this->type.'
|
||||
AND tr.`id_state` IN (0, '.(int)$this->address->id_state.')
|
||||
AND tr.`id_tax` !=0
|
||||
AND (\''.pSQL($postcode).'\' BETWEEN tr.`zipcode_from` AND tr.`zipcode_to`
|
||||
OR (tr.`zipcode_to` = 0 AND tr.`zipcode_from` IN(0, \''.pSQL($postcode).'\')))
|
||||
ORDER BY tr.`zipcode_from` DESC, tr.`zipcode_to` DESC, tr.`id_state` DESC, tr.`id_country` DESC');
|
||||
|
||||
Reference in New Issue
Block a user