diff --git a/view/frontend/web/js/view/country-store-data.js b/view/frontend/web/js/view/country-store-data.js index 91b0242..113670c 100644 --- a/view/frontend/web/js/view/country-store-data.js +++ b/view/frontend/web/js/view/country-store-data.js @@ -13,6 +13,12 @@ define([ return Component.extend({ initialize: function () { this._super(); + var _self = this; + + customerData.getInitCustomerData().done(function () { _self.initCountryStoreData(); }); + }, + + initCountryStoreData: function () { this.countryStoreData = customerData.get('country_store_data'); if (!this.isRefreshPending() && this.isInvalidated()) {