Processing products with and without variants - Commerce server

This is a discussion on Processing products with and without variants - Commerce server ; 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 ...

+ Reply to Thread
Results 1 to 3 of 3

Processing products with and without variants

  1. Default 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.


  2. Default RE: Processing products with and without variants

    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.



  3. Default Re: Processing products with and without variants

    David,

    Thanks a lot. This problem got resolved.

    Regards,
    Jimut.


+ Reply to Thread

Similar Threads

  1. Mac Os X doesn't support glyph variants
    By Application Development in forum Adobe Typography
    Replies: 2
    Last Post: 10-23-2006, 12:30 AM
  2. glut variants
    By Application Development in forum Graphics
    Replies: 0
    Last Post: 07-21-2006, 10:41 PM
  3. variants when debugging
    By Application Development in forum basic.visual
    Replies: 2
    Last Post: 09-21-2005, 10:55 AM
  4. RE: Creating Product Variants using FP1 API
    By Application Development in forum Commerce server
    Replies: 1
    Last Post: 07-20-2004, 06:09 PM