03-03-06 11:18 PM
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 ca
n
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 th
e
cart, load the OrderTemaplate, save the basket & delete the OrderTemplate
Simple Huh ?
--
Ravi Shankar
"Jeremy" wrote:
> Please help, i keep seeing Basket.Load but cannot find it. I want to upda
te
> existing orders but i DO NOT want to overwrite one's existing cart if they
> have one. How do i do this. I want to update shipping and billing addres
s,
> cc info and line items qty.
>
> PLEASE HELP
[ Post a follow-up to this message ]
|