2025-05-26: CE - New cart flexibility for managing line items

Feature name

Cart service - New cart flexibility for managing line items

Overview

Further enhancements have been made to the management of items in the cart, with the aim of providing greater flexibility and control to you. By default, identical products are grouped into a single line item with an updated quantity. However, you now have the option to treat each item addition as a separate line item, enabling more advanced use cases such as promotions, varied delivery methods and custom pricing strategies.

What's new

Feature
Benefit

New keepAsSeparateLineItem=true option

This function enables each addition of a product to be displayed as a separate line item, making it ideal for advanced use cases, like promotions buy 2, get 1 free.

Default behavior (false) assumed

The legalEntityId is now embedded in the authorization token, ensuring secure and precise access to resources across the storefront..

Fixes and improvements

None as this is a new feature.

Known problems

Quotes do not support separate line items yet.

Last updated

Was this helpful?