|
Home > Archive > Commerce Server Catalog > August 2005 > Variant information
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 |
Variant information
|
|
|
| CS2002 COM+
I would like to get the properties of a variant without going through
the product object. Is this possible?
Here is the scenario. Somebody enters a sku. I want to validate the
sku. I do a search on the catalog, using the productvariantclass as a
query option. The search finds the sku. Now, I need information about
the sku (variant), like description, etc. How would I do this?
Thank you.
| |
| Vinayak Tadas[MSFT] 2005-08-29, 5:57 pm |
| You can do a search using the CatalogManager.Search method and also pass
the properties to return like (description, name, cy_list_price etc)
This will return the values for these properties.
Alternatively the ProductCatalog object has a method named
GetProductVariant() which will return you the properties of the variant
http://msdn.microsoft.com/library/d...-us/csvr2002/ht
m/cs_rp_productcatalog_hvhc_c.asp
Thanks
Vinayak Tadas
Microsoft
http://blogs.msdn.com/vinayakt
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure! For more info visit http://www.microsoft.com/security. Please
reply to the newsgroups only
--------------------
From: "Jack" <harleythumper@hotmail.com>
Newsgroups: microsoft.public.commerceserver.catalog
Subject: Variant information
Date: 29 Aug 2005 08:21:43 -0700
Organization: http://groups.google.com
Lines: 11
Message-ID: <1125328903.197300.278830@g14g2000cwa.googlegroups.com>
NNTP-Posting-Host: 68.15.44.109
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1125328908 22498 127.0.0.1 (29 Aug 2005
15:21:48 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 29 Aug 2005 15:21:48 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
.NET CLR 1.0.3705),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g14g2000cwa.googlegroups.com; posting-host=68.15.44.109;
posting- account=4JNJ6A0AAACwIGLdTX0w9zuOLzaiDDdt
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!news.glorb.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-fo
r-mail
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.catalog:1218
X-Tomcat-NG: microsoft.public.commerceserver.catalog
CS2002 COM+
I would like to get the properties of a variant without going through
the product object. Is this possible?
Here is the scenario. Somebody enters a sku. I want to validate the
sku. I do a search on the catalog, using the productvariantclass as a
query option. The search finds the sku. Now, I need information about
the sku (variant), like description, etc. How would I do this?
Thank you.
|
|
|
|
|