// problem with zipcode containing letters
This commit is contained in:
1 parent
33f63ed144
commit
f631d8fc53
1 file changed
+1
-1
@@ -69,7 +69,7 @@ class TaxRulesTaxManagerCore implements TaxManagerInterface
|
|||||||
WHERE `id_country` = '.(int)$this->address->id_country.'
|
WHERE `id_country` = '.(int)$this->address->id_country.'
|
||||||
AND `id_tax_rules_group` = '.(int)$this->type.'
|
AND `id_tax_rules_group` = '.(int)$this->type.'
|
||||||
AND `id_state` IN (0, '.(int)$this->address->id_state.')
|
AND `id_state` IN (0, '.(int)$this->address->id_state.')
|
||||||
AND ('.pSQL($postcode).' BETWEEN `zipcode_from` AND `zipcode_to` OR `zipcode_from` = 0 OR `zipcode_from` = '.pSQL($postcode).')
|
AND (\''.pSQL($postcode).'\' BETWEEN `zipcode_from` AND `zipcode_to` OR `zipcode_from` = 0 OR `zipcode_from` = \''.pSQL($postcode).'\')
|
||||||
ORDER BY `zipcode_from` DESC, `zipcode_to` DESC, `id_state` DESC, `id_country` DESC');
|
ORDER BY `zipcode_from` DESC, `zipcode_to` DESC, `id_state` DESC, `id_country` DESC');
|
||||||
|
|
||||||
$behavior = 0;
|
$behavior = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user