03-03-06 11: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, Sav
e
> 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:
>
[ Post a follow-up to this message ]
|