Breaking changes in this major release
This update will require you to add:
channel.js
to yourstore
folder.- Domain and market settings to
nuxt.config.js
. @mixin scrollbarStyle
to yourstyles/helpers/_layout.scss
file.- Settings
showProductReviewSection
, andshowStarsInProductReviewForm
topublicRuntimeConfig
innuxt.config.js
You will also need to:
Update
.env
file.Update
Dockerfile
.Update your .env-file to use
FALLBACK_MARKET_ALIAS
instead ofFALLBACK_MARKET_ID
and 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
currentRouterName
in storeAdd widget Category Puffs
Changed
- .env-variable
FALLBACK_MARKET_ID
is now calledFALLBACK_MARKET_ALIAS
- Redirect for not allowed langugaes on market
channelId
,marketAlias
andmarkets
are moved into new section of store:channel
- All market routing is now handled through default middleware
- Global
$getPath
function now takes market and locale as arguments checkoutMarket
andcurrentMarket
has been separated to avoid routing to unavailable marketscurrentWidget
function has been separated fromCaWidget
to 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