|
Home > Archive > Commerce Server General > January 2005 > Processing products with and without variants
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 |
Processing products with and without variants
|
|
|
| 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.
| |
| David Messner [MSFT] 2005-01-05, 5:53 pm |
| 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@localho
st.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.
| |
|
| David,
Thanks a lot. This problem got resolved.
Regards,
Jimut.
|
|
|
|
|