ICartActionService
Add and change order lines in the cart.
Last updated
Usage
Use this service to change cart lines. It works with the current cart.
| Member | Purpose |
|---|---|
| AddProductToCart(OrderLine) | Adds and returns an order line. |
| SetQuantity(int orderLineId, int quantity) | Sets the quantity of an existing line. |
| IncreaseQuantity(int, int) / DecreaseQuantity(int, int) | Increases or decreases the quantity by a specified amount. |
| RemoveProductFromCartByOrderLineId(int) | Removes an order line. |
Source: OptimusCommercev2.Core/Interfaces/ICartActionService.cs · Optimus Commerce.Extension 17.94.0