My Oracle Support Banner

Adding cart items with combineLineItems = yes doesn't combine line items (Doc ID 3049635.1)

Last updated on OCTOBER 22, 2024

Applies to:

Oracle Commerce Cloud Service - Version 24.05 and later
Information in this document applies to any platform.

Symptoms

 

In some scenarios, calling Add cart items POST /ccstore/v1/orders/current/items/add?combineLineItems=yes with an item that exists in the cart already doesn't get the expected results of a single combined line item. Instead, there are 2 separate line items.


Steps to Reproduce as an sample scenario:

  1. Login to the site
  2. Add an item A that the user may not be qualified to get. Instead another qualified item, item B, was added on the fly.
  3. Logout
  4. Add an item B to guest cart.
  5. Login. Notice in the cart there are 2 line items of item B.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
  
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.