Commerce Server Catalog - OrderForm Object

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server Catalog > May 2004 > OrderForm Object





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 OrderForm Object
Jayson Williams

2004-05-13, 4:33 pm

Hi,


I have a requirement where a product is actually an
assembly of different sub products. I understand that in
Commerce Server, an assembly of products is quite possible
using relationships, But when a user selects an assembly
to add it to the shopping basket,
how can I add all the sub products of that assembly to the
basket? I know one way is to add each subproduct to a new
OrderForm within the same basket. But if I take this
approach, does the pipeline execute all the OrderForms at
once, or do I have to take care of sending each OrderForm
through the pipeline.

Any help in this regard will be appreciated,


Jayson
Zoe Hart [MVP]

2004-05-17, 7:40 am

I don't see any reason why you would add each subproduct to a new orderform
unless you had some driving business reason for the multiple orderforms. It
seems like what you need to do when the shopper selects a product and adds
it to the basket is write some code that retrieves the related subproducts
from the database and iterates through them, adding each one to the basket -
all in the same orderform. This could be in addition to or in place of
adding the product itself to the basket depending on your own business
rules.

Zoe

"Jayson Williams" <anonymous@discussions.microsoft.com> wrote in message
news:cd9301c4391f$70a83de0$a301280a@phx.gbl...
> Hi,
>
>
> I have a requirement where a product is actually an
> assembly of different sub products. I understand that in
> Commerce Server, an assembly of products is quite possible
> using relationships, But when a user selects an assembly
> to add it to the shopping basket,
> how can I add all the sub products of that assembly to the
> basket? I know one way is to add each subproduct to a new
> OrderForm within the same basket. But if I take this
> approach, does the pipeline execute all the OrderForms at
> once, or do I have to take care of sending each OrderForm
> through the pipeline.
>
> Any help in this regard will be appreciated,
>
>
> Jayson



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com