diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be31802e4..521a1d1652 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 broken link for store locator - @andrzejewsky (#3754) - 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/themes/default/components/core/blocks/Footer/Footer.vue b/src/themes/default/components/core/blocks/Footer/Footer.vue index 3fb7f1bce1..72224e668a 100644 --- a/src/themes/default/components/core/blocks/Footer/Footer.vue +++ b/src/themes/default/components/core/blocks/Footer/Footer.vue @@ -65,7 +65,7 @@
- + {{ $t('Store locator') }}
diff --git a/src/themes/default/pages/Static.vue b/src/themes/default/pages/Static.vue index af56af741a..a06a35d1ed 100644 --- a/src/themes/default/pages/Static.vue +++ b/src/themes/default/pages/Static.vue @@ -36,6 +36,7 @@ import Breadcrumbs from 'theme/components/core/Breadcrumbs' import StaticExample from 'theme/components/theme/blocks/Static/Example' import StaticShortExample from 'theme/components/theme/blocks/Static/Short' import { getPathForStaticPage } from 'theme/helpers' +import { localizedRoute } from '@vue-storefront/core/lib/multistore' export default { components: { @@ -68,7 +69,7 @@ export default { navigation: [ { title: i18n.t('About us'), link: getPathForStaticPage('/about-us'), component: StaticExample }, { title: i18n.t('Customer service'), link: getPathForStaticPage('/customer-service'), component: StaticShortExample }, - { title: i18n.t('Store locator'), link: getPathForStaticPage('/store-locator'), component: StaticExample }, + { title: i18n.t('Store locator'), link: localizedRoute('/store-locator'), component: StaticExample }, { title: i18n.t('Delivery'), link: '/delivery', component: StaticShortExample }, { title: i18n.t('Return policy'), link: '/returns', component: StaticExample }, { title: i18n.t('Privacy policy'), link: '/privacy', component: StaticShortExample },