Merge Cart
Version:
Developer tasks for using service method MergeCart.
MergeCart is used to combine the line items contained in two separate carts into a new third cart with its own unique ExternalID. The source carts are not changed by the method.
At your Visual Studio solution setup:
-
Reference the Sitecore.Commerce.Connect.CommerceServer and Sitecore.Commerce.dll.
-
Pick the class in your solution where want to use this service method.
-
Paste in the code below to use the service method.