create Basket


 

hi

 

i'm new commerce server,

 

i'm working on creating basket.

 

in application i'm having registration , renewal process user.

 

at same time same user having products in basket.

 

now if  try create new basket registration registration added previous basket not able create new basket.

 

its possible create more 1 basket single user?????????

really need in this.............

 

regards,

sathiya priya

 

 

hi there

 

not sure understand situation, answer question, yes single user can have more 1 basket.

essentially, cs allows multiple basket per user allowing specify name of basket.

you notice ordercontext.getbasket(...) method has few overloads:

http://msdn.microsoft.com/en-us/library/microsoft.commerceserver.runtime.orders.ordercontext.getbasket.aspx

  • getbasket(userid)  // used default basket name
  • getbasket(userid, ordergroupid)
  • getbasket(userid, basketname)

you can retreive list of basket user using getbasketsforuser(...) method.

http://msdn.microsoft.com/en-us/library/microsoft.commerceserver.runtime.orders.ordercontext.getbasketsforuser.aspx

 

anyway, hope helps...

 

j-p

 



Commerce Server  >  Commerce Server 2007



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'