Processing products with and without variants
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Processing products with and without variants

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
Jimut
Guest





Posted: Wed Jan 05, 2005 11:08 am    Post subject: Processing products with and without variants Reply with quote

Hi,

In my catalog, some products have variants where as some products don't
have.

While adding the products with the variant to my cart I am
associating the ProductVariantID properties to the lineitem object i.e.
lineitemobject.ProductVariantID = "Value"

If the product does not have any variant then I skipp this
assignment.

However after adding these line items I am processing my otherform in
basket pipeline, all the line items for which there are no variantID are
getting removed from the orderform by the pipeline.

Can you please tell me what is going wrong.

Regards,
Jimut.
Back to top
David Messner [MSFT]
Guest





Posted: Thu Jan 06, 2005 2:12 am    Post subject: RE: Processing products with and without variants Reply with quote

Make sure that the products without VariantIDs are truly products and not
product families. A product family is not a purchaseable sku so the
QueryCatalogInfo (QCI) pipeline component will remove them (mark them as
deleted).

Check the i_ClassType column in the catalog tables to see. 8 is product
family, 2 is variant, 4 is product. If the product you are trying it add
to the orderform has ClassType=8, that won't work.

cscCategoryClass = 1,
cscProductVariantClass = 2,
cscProductClass = 4,
cscProductFamilyClass = 8,
cscProductFamilyForVariantsClass = 16,
cscProductVariantsForFamily = 32

-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation. All rights
reserved.

--------------------
From: "Jimut" <jimutbasa@yahoo.com>
Newsgroups: microsoft.public.commerceserver.general
Subject: Processing products with and without variants
Date: Wed, 05 Jan 2005 00:08:00 -0500
Organization: www.talkaboutsoftware.com
Message-ID:
<61060f58e085719d2d01eec91313bc53@localhost.talkaboutsoftware.com>
X-Newsreader: www.talkaboutsoftware.com
Content-Type: text/plain;
X-Complaints-To: abuse@supernews.com
Lines: 21
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!news.maxwell.syr.edu!postnews.google.com!news4.google.
com!sn-xit-04!sn-xit-11!sn-xit-08!sn-post-01!supernews.com!corp.supernews.co
m!not-for-mail
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15368
X-Tomcat-NG: microsoft.public.commerceserver.general

Hi,

In my catalog, some products have variants where as some products don't
have.

While adding the products with the variant to my cart I am
associating the ProductVariantID properties to the lineitem object i.e.
lineitemobject.ProductVariantID = "Value"

If the product does not have any variant then I skipp this
assignment.

However after adding these line items I am processing my otherform in
basket pipeline, all the line items for which there are no variantID are
getting removed from the orderform by the pipeline.

Can you please tell me what is going wrong.

Regards,
Jimut.
Back to top
Jimut
Guest





Posted: Thu Jan 06, 2005 2:22 pm    Post subject: Re: Processing products with and without variants Reply with quote

David,

Thanks a lot. This problem got resolved.

Regards,
Jimut.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB