Skip to content

Commit cad3806

Browse files
committed
ACP2E-3472: [CLOUD] Shipping calculation is not considering the shopping cart rule
1 parent e854c25 commit cad3806

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/shipping-rates-validator.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ define([
8585
uiRegistry.async(formPath + '.' + field)(self.doElementBinding.bind(self));
8686
});
8787
let regionId = uiRegistry.async(formPath + '.region_id');
88-
89-
this.bindHandler(regionId(), self.validateDelay);
88+
if (regionId() !== undefined) {
89+
this.bindHandler(regionId(), self.validateDelay);
90+
}
9091
},
9192

9293
/**

0 commit comments

Comments
 (0)