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

Telco cart marging strategy

0 Likes
278

Hi Expert, As I have two carts one anonymous cart (Cart1) and another cart (Cart2)for registered, for both cart there are n and m numbers of child carts . What might be best way to merge both child carts of Cart1 and Cart2 in B2C Telco accelerator. I am able to merge the entries of Cart1 and Cart2 by overriding the CommerceCartMergeStrategy class, but what might be the best way to merge child carts (m,n) of both Cart1 and Cart2 .

What I am doing is getting the child Carts of both Cart1 and Cart2 and matching the each cart of child cart of Anonymous to each child carts of Registered and if matched then merge their entries. If some child cart of anonymous cart do not matched then copy that cart to child cart list if Registered cart.

Please suggest what is best way to merge .

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

abhinavsingh11
Participant
0 Likes

The implemenation for cart merging strategy is blank for Telco OOB. We need to customize the cart merging strategy according to our requirements.