product with multiple variants adding to basket
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 > product with multiple variants adding to basket




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

    product with multiple variants adding to basket  
Scott


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


 
09-28-04 01:15 PM

Hi all,

I'm struggling to get my head round the best way to add a product with
multiple variants to a basket. For instance, say I had a product with size
variants and colour variants, which variant ID do I pass into the basket? Do
I concatenate the variant IDs for Commerce Server to somehow work out?!... O
r
would I create a variant for every combination, and just add that? If this i
s
the case, how would I display the colour in one drop down and the size in
another. Sorry if it seems like I'm asking alot here, I just can't get my
head round it - the penny is taking a while to drop on this one!

Many thanks in advance,
Scott







[ Post a follow-up to this message ]



    Re: product with multiple variants adding to basket  
Dinesh Chadha


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


 
09-28-04 10:52 PM

Hi Scott,

As per Commerce Server, Each product can have multple variants. But
each Variant is recognised by a VariantId. So in your case, the
combination of "Size" & "Color" makes "One Variant Id". You have 2
solutions:

1. Display the combination of "Size - Color" as one Variant and in
BizDesk assign variantid to each of these combinations. e.g.
SM - Red  (VariantID in BizDesk = smred)
SM - Blue (VariantID in BizDesk = smblue)
XL - Red  (VariantID in BizDesk = xlred)
XL - Blue (VariantID in BizDesk = xlblue)
etc etc.

2. If you want to show "Colors" & "Size" in separate drop downs, in
that case you have to dynamically generate VariantIds in from based
upon user selection and pass that to basket.

#1 is much easier to impelement. If you still have any doubts, let me
know.

Good Luck
Dinesh Chadha


"Scott" <Scott@discussions.microsoft.com> wrote in message news:<14DF18ED-7C60-4C6F-B6FB-E3A
20369E76E@microsoft.com>...
> Hi all,
>
> I'm struggling to get my head round the best way to add a product with
> multiple variants to a basket. For instance, say I had a product with size
> variants and colour variants, which variant ID do I pass into the basket? 
Do
> I concatenate the variant IDs for Commerce Server to somehow work out?!...
 Or
> would I create a variant for every combination, and just add that? If this
 is
> the case, how would I display the colour in one drop down and the size in
> another. Sorry if it seems like I'm asking alot here, I just can't get my
> head round it - the penny is taking a while to drop on this one!
>
> Many thanks in advance,
> Scott





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:06 PM.      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