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 8bde202 + 93af241 commit 777330cCopy full SHA for 777330c
app/code/Magento/Checkout/view/frontend/web/js/view/cart/shipping-estimation.js
@@ -50,9 +50,13 @@ define(
50
if (address) {
51
estimatedAddress = address.isEditable() ?
52
addressConverter.quoteAddressToFormAddressData(address) :
53
- addressConverter.quoteAddressToFormAddressData(
54
- addressConverter.addressToEstimationAddress(address)
55
- );
+ {
+ // only the following fields must be used by estimation form data provider
+ 'country_id': address.countryId,
56
+ region: address.region,
57
+ 'region_id': address.regionId,
58
+ postcode: address.postcode
59
+ };
60
checkoutProvider.set(
61
'shippingAddress',
62
$.extend({}, checkoutProvider.get('shippingAddress'), estimatedAddress)
0 commit comments