diff --git a/CHANGELOG.md b/CHANGELOG.md index 4293a90363..6be31802e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added validation message for city field on checkout page - @dz3n (#3723) - Make price calculation based on saved original prices - @gibkigonzo (#3740) - Improving is_comparable to work with booleans and digits - @dz3n (#3697) +- Fixed instant checkout functionality - @andrzejewsky (#3765) - Fixed links to the promoted banners - @andrzejewsky (#3753) - Fixed missing parameter in the compare list - @andrzejewsky (#3757) diff --git a/src/modules/instant-checkout/components/InstantCheckout.vue b/src/modules/instant-checkout/components/InstantCheckout.vue index dea5e0bc72..6987182579 100644 --- a/src/modules/instant-checkout/components/InstantCheckout.vue +++ b/src/modules/instant-checkout/components/InstantCheckout.vue @@ -12,10 +12,16 @@ import config from 'config' import i18n from '@vue-storefront/i18n' import rootStore from '@vue-storefront/core/store' import { currentStoreView } from '@vue-storefront/core/lib/multistore' +import { registerModule } from '@vue-storefront/core/lib/modules' +import { OrderModule } from '@vue-storefront/core/modules/order' + const storeView = currentStoreView() export default { name: 'InstantCheckoutButton', + beforeCreate () { + registerModule(OrderModule) + }, data () { return { supported: false,