ShoppingCartInfoProviderUpdateShoppingCartFromOrderInternal Method |
Updates shopping cart with shopping cart from order. If such product configuration already exists in the shopping cart, only its quantity is updated.
Returns true if all ordered items were successfully added to cart.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax protected virtual bool UpdateShoppingCartFromOrderInternal(
ShoppingCartInfo cart,
int orderID
)
Parameters
- cart
- Type: CMS.EcommerceShoppingCartInfo
Shopping cart - orderID
- Type: SystemInt32
ID of order which should be added to shopping cart.
Return Value
Type:
BooleanSee Also