Update Cart Lines
Version:
Developer tasks for using service method UpdateCartLines.
UpdateCartLines is used when:
-
The quantity is changed
-
A service is added (like insurance or shipping)
-
A promotion code is added for a given product
-
A product is replaced with a variant
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.