Skip to content

Commit 5a84c5a

Browse files
committed
Fixed - Default tax region/state appears in customer & order data #16684
1 parent 4421098 commit 5a84c5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/new-customer-address.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ define([
2525
if (countryId) {
2626
if (addressData.region && addressData.region['region_id']) {
2727
regionId = addressData.region['region_id'];
28+
} else if (!addressData['region_id']) {
29+
regionId = null;
2830
} else if (countryId === window.checkoutConfig.defaultCountryId) {
2931
regionId = window.checkoutConfig.defaultRegionId;
3032
}

0 commit comments

Comments
 (0)