Saving a OrderForm as Order
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 > Saving a OrderForm as Order




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

    Saving a OrderForm as Order  
Vincent van der Laan


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


 
08-17-04 12:51 PM

Hi,

i am using 1 Commerce Server installation for several
shops.
So a user for shop A is also a user for shop B.

For the basket i have the idea of saving the products of
different sites in different orderforms so for shop A the
order will be in basket.OrderForms["ShopA"] etc.

Now I am having the problem that i cannot make 1
orderform as a order. I cannot make the whole basket as a
Order while there can be products from other shops in his
basket.

What am i doing wrong or am i missing something?

Hope you can help.

Vincent van der Laan
Citee
Netherlands





[ Post a follow-up to this message ]



    RE: Saving a OrderForm as Order  
Nihit Kaul [MSFT]


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


 
08-18-04 10:52 PM

Hi Vincent,

The Order placed is always based on the whole Basket (all orderforms)
included. You can then send it to different vendors for shipping as a
post-processing step.

In this case however, since it seems like you want different Orders for
different Shops, you can leverage the OrderTemplate functionality. You can
create different OrderTemplates for a user for each shop, so all items for
Shop A will be in the OrderTemplate named say, "Shop A Items".

At the time of checkout, you can simply create a Basket and use the
Add(OrderTemplate) method to add the items in the particular OrderTemplate
you are trying to checkout and proceed.

Hope this helps.

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
Content-Class: urn:content-classes:message
From: "Vincent van der Laan" <v.vanderlaan@citee.nl>
Sender: "Vincent van der Laan" <v.vanderlaan@citee.nl>
Subject: Saving a OrderForm as Order
Date: Tue, 17 Aug 2004 02:52:33 -0700
Lines: 22
Message-ID: <095d01c4843f$eb34ab00$3a01280a@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Thread-Index: AcSEP+syodwvCJOoSbGQMpDhNWkQJQ==
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: tk2msftngxa07.phx.gbl 10.40.1.58
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA0
7.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14545
X-Tomcat-NG: microsoft.public.commerceserver.general

Hi,

i am using 1 Commerce Server installation for several
shops.
So a user for shop A is also a user for shop B.

For the basket i have the idea of saving the products of
different sites in different orderforms so for shop A the
order will be in basket.OrderForms["ShopA"] etc.

Now I am having the problem that i cannot make 1
orderform as a order. I cannot make the whole basket as a
Order while there can be products from other shops in his
basket.

What am i doing wrong or am i missing something?

Hope you can help.

Vincent van der Laan
Citee
Netherlands






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:10 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