[19.5.3] - 2023-06-30
Fixed
- Hide show-all link in
<CaPanelNavigation />if url is empty
[19.5.2] - 2023-06-09
Fixed
- Handle outside click for
<CaHeaderNavigation />
[19.5.1] - 2023-05-22
Fixed
- Setting external shipping fee even if it's 0
[19.5.0] - 2023-05-20
If you want to use the more SEO-friendly version of the list pagination, you have to remove CaListPagination from your storefront to use the one from Ralph UI instead.
Added
CaListPaginationcomponent (moved from Ralph Storefront to Ralph UI and improved according to SEO standards)- Html attributes from i18n
- Canonical from i18n
[19.4.0] - 2023-05-20
Added
- Option to set
$config.useExternalGtmto use disable the internal pushes to GTM - Added
orderCartandorderIdtocheckout:purchaseevent payload
Fixed
- Sending
product-detail:impressionevent when changing variant on product page - Only sending
page:impressionif path has actually changed (not just query params)
[19.3.0] - 2023-05-17
Added
- Added
merchentDatato the checkout store. Will get sent with createOrUpdateCheckout if set - Making
articleNumberandsellingPriceIncVatalways available - Added
indexandpageSizeto theproduct:impressionevent payload
Fixed
- Correct product to be sent with
cart:addandcart:removeevents
[19.2.1] - 2023-05-12
Fixed
- Turned of debugging in checkout
[19.2.0] - 2023-05-12
Added
- Possibility to add an external shipping fee in checkout
- Possibility to add full product object to favorite data payload
Fixed
- Updated vuese documentation
[19.1.1] - 2023-05-10
Fixed
- Fixed bug with currentMaxCount being wrong when server side rendering paginated list
[19.1.0] - 2023-05-04
This update improves the events push and adds some events.
Added
- Events:
widget:click- data payload:{ href }menu:click- data payload:{ item }search:click- data payload:{ type, data }
Changed
- Menus are now again fetched even server-side. Added a prop to MixMenu to fetch only client-side if needed:
onlyClientSide - State removed from events payload since it's reachable anyways
[19.0.0] - 2023-04-21
You will need to make these updates to your storefront to be able to use this version of Ralph UI:
Remove
CaToggleFavoritefrom your storefront to use the one from Ralph UI insteadRemove
plugins/get-path.jsand useplugins/ralph.jsinsteadAdd
events.jsto your store folder and import store fromralphevents(see commit in Ralph Storefront for reference)Update click handlers for
CaProductCard(see commit in Ralph Storefront for reference)
Added
events(store/ralphevents.js) added to store with the following events emitted:cart:add- data payload:{ item, product }cart:remove- data payload:{ item, product }page:impression- data payload:{ route }product:click- data payload:{ product, page, index, pageSize }product:impression- data payload:{ product, page }product-detail:impression- data payload:{ product }favorite:add- data payload:{ productId }favorite:remove- data payload:{ productId }checkout:impression- data payload:{}checkout:update- data payload:{ checkout }checkout:purchase- data payload:{ order }user:login- data payload:{}user:logout- data payload:{}user:register- data payload:{}user:password-reset- data payload:{ email, resetKey }user:delete- data payload:{}newsletter:subscribe- data payload:{ email }
All events also has a payload of:
type- the type of event (e.g.cart:add)timestamp- the timestamp of the event
CaToggleFavoritecomponent (moved from Ralph Storefront to Ralph UI)Global log function
$ralphLogused like so:this.$ralphLog(message, ...args)currentLocaleandcurrentCurencyin store/channel for it to be included in the state in event payload
Changed
- Using toggleFavorite action instead of toggleFavorite mutation to be able to emit events
Fixed
- Fixed error with server side rendering checkout page without cart id
Deprecated
plugins/get-path.js- useplugins/ralph.jsinstead- Mutation
toggleFavorite- use actiontoggleFavoriteinstead