You are here: Ektron Namespace > .NET Assemblies > eCommerce > Classes > BasketApi Class > BasketApi Methods > SetDefaultBasket Method > SetDefaultBasket
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
BasketApi.SetDefaultBasket Method (long, long)

Sets the default cart for a user.

C#
public void SetDefaultBasket(long basketId, long userId);
Visual Basic
Public Function SetDefaultBasket(basketId As long, userId As long) As void
Parameters 
Description 
basketId 
The ID of the cart to set as the default. 
userId 
The ID of the user setting the default cart. 
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!