We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acb56a5 + 11e57bb commit 88fbfc7Copy full SHA for 88fbfc7
app/code/Magento/Tax/Model/Calculation/Rate/Converter.php
@@ -74,6 +74,10 @@ public function createArrayFromServiceObject(
74
'zip_is_range' => $returnNumericLogic?0:false,
75
];
76
77
+ if ($taxRateFormData['tax_region_id'] === '0') {
78
+ $taxRateFormData['tax_region_id'] = '';
79
+ }
80
+
81
if ($taxRate->getZipFrom() && $taxRate->getZipTo()) {
82
$taxRateFormData['zip_is_range'] = $returnNumericLogic?1:true;
83
$taxRateFormData['zip_from'] = $taxRate->getZipFrom();
0 commit comments