This is a discussion on Re: Does it possible to add a base unit of product to basket and run basket pipeline.? - Commerce server ; Can you paste the relevant piece of your code where you are adding the units to the basket? Basically, what you want is that the product_variant_id should be a empty string. I am suspecting that the value is DBNull if ...
Can you paste the relevant piece of your code where you are adding the
units to the basket? Basically, what you want is that the
product_variant_id should be a empty string. I am suspecting that the value
is DBNull if you are using it directly from the database?
Paste your code and reply to this message and we will be able to see the
From: firstname.lastname@example.org (Ajay)
Subject: Re: Does it possible to add a base unit of product to basket and
run basket pipeline.?
Date: 29 Mar 2004 22:45:05 -0800
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1080629106 9099 127.0.0.1 (30 Mar 2004 06:45:06
NNTP-Posting-Date: Tue, 30 Mar 2004 06:45:06 +0000 (UTC)
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:13500
Actually I have one product with 2 alternative units. when I add
alternative units to basket and run basket pipeline , its working
properly. But when I add base unit and run pipe line it removes the
base unit from the basket.
I can't use 2 different product def since its one product
Thanks in advance
email@example.com (Ajay) wrote in message
> I am adding one product with variantUID to basket and run basket
> pipeline, its
> working properly.
> But while I am adding one base unit of product(variantUID is null) to
> basket and run basket pipe line , it removes the product from basket .
> I am getting the following error message in log file,
> "Please note that one or more items were removed from your order
> because the product is no longer sold. "
> I think the "QueryCatalogInfo" component is failed because the
> product_variant_id is null.
> But product_variant_id is optional in "QueryCatalogInfo" component
> I am using the same productDef for both products
> Any help will be appreciated
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team