on 2019 Jun 26 12:48 PM
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
Request clarification before answering.
The implemenation for cart merging strategy is blank for Telco OOB. We need to customize the cart merging strategy according to our requirements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.