diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f547c584f..0a37c1f3e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add to cart from Wishlist and Product listing for simple products - @Dnd-Dboy, @dz3n (#2637) - Add global Category and Breadcrumb filters, defined in local.json - @grimasod (#3691) - Add constant which conditions the number of products loading per page - @AdKamil (#3630) -- Added price filtering key as config - @roywcm +- Added price filtering key as config - @roywcm ### Fixed - Always close zoom overlay after changing product - @psmyrek (#3818) @@ -41,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Changed pre commit hook to use NODE_ENV production to check for debugger statements - @resubaka (#3686) - Improve the readability of 'getShippingDetails()' and 'updateDetails()' method of UserShippingDetails component - @adityasharma7 (#3770) - Keep git after yarn install in dockerfile - @ddanier (#3826) +- Update the Storage Manager shipping details cache immediately when then Vuex checkout store is updated - @grimasod (#3894) ## [1.11.0-rc.2] - 2019.10.31 diff --git a/core/modules/checkout/index.ts b/core/modules/checkout/index.ts index c6ca55d0ac..e6ff6ee64d 100644 --- a/core/modules/checkout/index.ts +++ b/core/modules/checkout/index.ts @@ -24,7 +24,7 @@ export const CheckoutModule: StorefrontModule = function ({store}) { } if ( - type.endsWith(types.CHECKOUT_SAVE_SHIPPING_DETAILS) + type.endsWith(types.CHECKOUT_SAVE_SHIPPING_DETAILS) || type.endsWith(types.CHECKOUT_UPDATE_PROP_VALUE) ) { StorageManager.get('checkout').setItem('shipping-details', state.checkout.shippingDetails).catch((reason) => { console.error(reason) // it doesn't work on SSR