You are here: Data Classes > Ektron.Cms.Commerce Namespace > Classes > Basket Class > Basket Methods > AddProduct Method > AddProduct
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Basket.AddProduct Method (long, int)

Adds product to cart.

C#
public abstract long AddProduct(long productId, int quantity);
Visual Basic
Public abstract Function AddProduct(productId As long, quantity As Integer) As long
Parameters 
Description 
productId 
Id of product to add to basket. 
quantity 
quantity of product to add to cart. 

returns basket item Id.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!