Is Basket.Load and Basket.Add the same?? CHANGE EXISTING ORDERS
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Is Basket.Load and Basket.Add the same?? CHANGE EXISTING ORDERS




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Is Basket.Load and Basket.Add the same?? CHANGE EXISTING ORDERS  
Jeremy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-01-06 10:52 PM

Please help, i keep seeing Basket.Load but cannot find it.  I want to update
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 address,
cc info and line items qty.

PLEASE HELP





[ Post a follow-up to this message ]



    RE: Is Basket.Load and Basket.Add the same?? CHANGE EXISTING ORDERS  
Ravi Shankar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:03 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register