Click or drag to resize
IShoppingServiceUpdateItemQuantity Method (Int32, Int32)
Updates the quantity of a shopping cart item specified by itemId to quantity. Logs the activity resulting from the actual amount of items added or removed and evaluates the cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
void UpdateItemQuantity(
	int itemId,
	int quantity
)

Parameters

itemId
Type: SystemInt32
ID of the shopping cart item.
quantity
Type: SystemInt32
New number of the product units.
Remarks
This method does nothing when quantity less than zero or item with the specified itemId is not in the cart.
See Also