Breaking changes in this major release
This update will require you to add:
channel.jsto yourstorefolder.- Domain and market settings to
nuxt.config.js. @mixin scrollbarStyleto yourstyles/helpers/_layout.scssfile.- Settings
showProductReviewSection, andshowStarsInProductReviewFormtopublicRuntimeConfiginnuxt.config.js
You will also need to:
Update
.envfile.Update
Dockerfile.Update your .env-file to use
FALLBACK_MARKET_ALIASinstead ofFALLBACK_MARKET_IDand the format should be for example "se" for Sweden.Fetch fallback markets from the api in nuxt.config.
Added
component: CaMarketPanel (Use instead of deprecated CaCountrySelector )
component: CaMarketGroup
component: CaMarketItem
component: CaReviewForm
component: CaStarRating
currentRouterNamein storeAdd widget Category Puffs
Changed
- .env-variable
FALLBACK_MARKET_IDis now calledFALLBACK_MARKET_ALIAS - Redirect for not allowed langugaes on market
channelId,marketAliasandmarketsare moved into new section of store:channel- All market routing is now handled through default middleware
- Global
$getPathfunction now takes market and locale as arguments checkoutMarketandcurrentMarkethas been separated to avoid routing to unavailable marketscurrentWidgetfunction has been separated fromCaWidgetto make it easier to override
Fixed
- Fix for console error for enableBodyScroll when leaving PDP
- Widget Flowbox - fixed bug with initialization (generating pseudo id), loading widget only on client side, handle dynamic product flow option
Deprecated
- CaCountrySelectorPanel - use CaMarketPanel instead