A new year means release notes for the back end have started again! This time, we look at the January 2024 (24.1) release!
Are you interested in last year’s release notes? Click here!
Platform
DKIM Support for Emails
Are you tired of missing out on important emails because they end up in your SPAM folder? We have great news for you! Commerce Cloud now comes with DKIM support, designed to significantly reduce the chances of your emails being marked as SPAM.
Improved log handling for Einstein Search Dictionaries and Einstein Predictive Sort
The error handling for Einstein Search Dictionaries and Einstein Predictive Sort log files no longer creates log errors when an updated dataset isn’t available.
How: If you use Einstein Search Dictionaries or Einstein Predictive Sort, verify the Region setting in your staging instance. In Business Manager | Administration | Operations | Einstein Status Dashboard | site, set the Region to one of the following:
- Americas
- APAC
- EU
OCAPI & SCAPI
Enable Temporary Baskets for Immediate Order Requests in OCAPI
OCAPI 23.4 includes support for temporary baskets. Temporary baskets allow for immediate order requests in B2C Commerce. For example, a shopper uses a Buy Now option to purchase an item. The temporary basket, which has a limited lifetime of 15 minutes, is populated with all the data required to ready the basket for checkout without affecting the regular shopper basket.
How: Pass a query parameter temporaryBasket into POST baskets to create a temporary basket. With OCAPI 23.4 the basket document attribute isTemporary indicates a basket is temporary.
The recent introduction of temporary basket access in Headless setups is a significant breakthrough! This new feature unlocks a world of possibilities for mobile applications and the PWA Kit.
Have you ever received a request to allow only one product type in a single basket without allowing any combinations? Such requests were puzzling before this feature was added. Where do you store the current basket? What if the product goes out of stock in the meantime?
Some things that you need to remember about these temporary baskets:
- Basket lifetime is limited compared to shopper baskets. A temporary lifetime of 15 minutes is used for basket retention.
- Limit is separate from shopper and agent basket limits. The shopper can have up to 4 temporary baskets.
- Available to all shoppers, including guests. (unlike agent baskets)
PWA Kit v3.3.0
Some love again for the PWA Kit, wit the release of v3.3. The main changes are:
- Adding StorefrontPreview component ‘onContextChange’ property to prepare for future Storefront Preview release
- Updating engine compatibility to include npm 10
- Replacing max-age with s-maxage to only cache shared caches
- Improving pwa-kit-dev start command to accept CLI arguments for babel-node
- Adding source-map-loader plugin to webpack configuration
- Creating a flag to allow toggling behavior that treats + character between words as space in search query
- Implementing gift option for basket
- Updating extract-default-messages script to support multiple locales
- Adding support for localization in icon component
- Making various accessibility improvements and bug fixes
Bugfixes
Only one fix was made in the current release. However, many items are marked as “Solution Scheduled” and “Solution Deploying”, which will hopefully be covered in next month’s release blog post!
Updated Cartridges & Tools
sgmf-scripts (3.x in the works)
This repository contains a collection of scrips that are useful for creating Storefront Reference Architecture overlay cartridges. All of the scripts are executable through CLI.
I’ve noticed that someone is currently working on developing version 3.x of this library. This is an exciting update that many people have been eagerly waiting for. It will be interesting to see what changes and enhancements are made in this new version.