Fixed: notice on product page when service product has tax rule with no tax as option

This commit is contained in:
vishalsingh.qlo325
2024-04-22 09:35:33 +05:30
parent 8dcfc9e892
commit e67f9be5e8

View File

@@ -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');