cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

split order entry

Former Member
0 Likes
719

I'm working with Hybris 6.2 and i need to split an entry

Usually when the user adds to the cart three items of the same product you have one entry with a quantity of three, but for certain type of products i need to have one entry for each item, so instead of one entry with a quantity of three i need to have three entries with a quantity of one each, but Hybris seems to automatically group the products in one entry when they are of the same type.

does anyone know how can i split that entry accordingly to the quantity of items in the entry? or how to aboid that Hybris automatically group them together?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

I would suggest implementing own logic for de.hybris.platform.commerceservices.order.EntryMergeFilter because there are cases when previously separate items might be merged(e.g. during merging carts)

sasethia
Explorer
0 Likes

Just set CommerceCartParameter.createNewEntry(true); and it will always create a new entry.