Commerce Server General - RE: Is Basket.Load and Basket.Add the same?? CHANGE EXISTING ORDE

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > March 2006 > RE: Is Basket.Load and Basket.Add the same?? CHANGE EXISTING ORDE





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Is Basket.Load and Basket.Add the same?? CHANGE EXISTING ORDE
Jeremy

2006-03-03, 6:18 pm

could you show me how to use basket.Load - maybe some code? I cannot find it
in the retail site nor can i find how to do it on the web. people just say
use basket.load(purchaseorder) but nothing else.

your help would really help.

"Ravi Shankar" wrote:
[vbcol=seagreen]
> Hi Jeremy,
>
> Basket.Load is to create an instance of the user's basket based on what is
> stored in the Database. Basket.Add on the other hand is used to add the
> contents of a OrderTemplate or PurchaseOrder into the existing user basket.
>
> If you're using Retail2002 site then you'll be able to locate the
> Basket.Load call in the TransactionContext Class otherwise Basket.Load can
> be found in the documentation at
> http://msdn.microsoft.com/library/?....asp?frame=true
>
> If you do not want to override the existing cart then you should create an
> OrderTemplate, move the contents of the cart into that OrderTemplate, Save
> it. Clear the basket, load the PO, make modifications, save the PO, clear the
> cart, load the OrderTemaplate, save the basket & delete the OrderTemplate
> Simple Huh ?
> --
> Ravi Shankar
>
>
> "Jeremy" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com