|
Home > Archive > Commerce Server General > February 2005 > Basket Pipeline
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]
|
|
| Simone Basso 2005-01-27, 5:50 pm |
| I'm building a new CS web site.
I'm blocked in the Basket page...
When i add a product to my basket i see that
CartOrderForm.LineItems.Count = 1, but when i execute the
BasketPipeline, my CartOrderForm.LineItems.Count becomes 0.
Someone have an idea???
tks
simone
| |
| shahpiyush@gmail.com 2005-01-27, 5:50 pm |
| Enable Logging for your pipeline.
If you are using ASP.Net, open web.config and set this key -
<pipeline name="basket" path="pipelines\basket.pcf" transacted="false"
type="OrderPipeline" loggingEnabled="true"/>
In your logs you will see why your item is getting deleted. Most
probably its the QueryCatalogInfo component in your basket which may
have some required fields missing, so it sets the delete flag, and the
RequiredProdInfo component deletes it.
| |
| Matt Nield 2005-01-28, 7:51 am |
| I've seend this problem like this before and it was related to the variant
code for the product (even if there are not variants for the product in
question). When the pipeline was executing (I looked at the exciting logs
) the product was deamed invalid and was removed. Make sure that you are
passing a valid variant code, and if there is not a variant code then use a
null value.
Hope this helps
Matt
"Simone Basso" <smnbss@gmail.com> wrote in message
news:1106845861.179880.77100@f14g2000cwb.googlegroups.com...
> I'm building a new CS web site.
> I'm blocked in the Basket page...
> When i add a product to my basket i see that
> CartOrderForm.LineItems.Count = 1, but when i execute the
> BasketPipeline, my CartOrderForm.LineItems.Count becomes 0.
> Someone have an idea???
>
> tks
>
> simone
>
| |
| Simone Basso 2005-01-28, 7:51 am |
| Ok, tks.. now i've another problem 
basket log tell me : "Please note that one or more items were removed
from your order because the product is no longer sold."
what this mean ??
The lineItem i've added have the productID, quantity, product catalog,
productCategory, and VariantID.
I don't use variantID on my products, so lineItem.ProductVariantID is
always "".
So what can be the problem?
tks
Simone
| |
| Simone Basso 2005-01-28, 7:51 am |
| tks u so much ;)
i think i'll have a lot of questions in the next days ;)
bye
| |
| Diego Machado 2005-01-28, 12:28 pm |
| Hi.
The product in question was probably removed form the catalog where it was, but it remained in the basket, so when you run the basket pipeline the pipeline component QueryCatalogInfo sets the Delete flag to 1 inside the lineitem and the RequiredProdInfo is suposed to remove it from your basket. If it wasn't removed from the catalog your basket is pointing to the wrong place.
Hope that was of any help.
I'm haveing a little problem because every time a product is removed I have to perform an iisreset for the QueryCatalogInfo to mark it for deletion, if anyone knows what am I supposed to do, so that I won't have to perfor an iisreset, I would welcome every suggestion. tnx
quote: Originally posted by Simone Basso
tks u so much ;)
i think i'll have a lot of questions in the next days ;)
bye
| |
| Craig Boland 2005-02-02, 5:49 pm |
| I had the same problem. Matt Nield's solution worked for me. If you're not
using ProductVariantId, you must pass null (Nothing in VB.NET). An empty
string is not the same in this case.
"Simone Basso" wrote:
> I'm building a new CS web site.
> I'm blocked in the Basket page...
> When i add a product to my basket i see that
> CartOrderForm.LineItems.Count = 1, but when i execute the
> BasketPipeline, my CartOrderForm.LineItems.Count becomes 0.
> Someone have an idea???
>
> tks
>
> simone
>
>
| |
| Simone Basso 2005-02-03, 7:50 am |
| tks i did that !
| |
| Vinod Kumar[MSFT] 2005-02-16, 5:50 pm |
| Can you make sure that the product which you're adding to the OrderForm actually exists in the catalog system.
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.
--------------------
From: "Simone Basso" <smnbss@gmail.com>
Newsgroups: microsoft.public.commerceserver.general
Subject: Re: Basket Pipeline
Date: 28 Jan 2005 01:11:11 -0800
Organization: http://groups.google.com
Lines: 18
Message-ID: <1106903471.638781.159940@f14g2000cwb.googlegroups.com>
References: <1106845861.179880.77100@f14g2000cwb.googlegroups.com>
<1106854176.230710.245780@c13g2000cwb.googlegroups.com>
NNTP-Posting-Host: 81.112.241.210
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1106903475 14743 127.0.0.1 (28 Jan 2005 09:11:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 28 Jan 2005 09:11:15 +0000 (UTC)
In-Reply-To: <1106854176.230710.245780@c13g2000cwb.googlegroups.com>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=81.112.241.210;
posting-account=Jfo_vA0AAABohVjvTOquravLXn-DhV81
Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!newsfeed1.ip.tiscali.net!news.glorb.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15520
X-Tomcat-NG: microsoft.public.commerceserver.general
Ok, tks.. now i've another problem 
basket log tell me : "Please note that one or more items were removed
from your order because the product is no longer sold."
what this mean ??
The lineItem i've added have the productID, quantity, product catalog,
productCategory, and VariantID.
I don't use variantID on my products, so lineItem.ProductVariantID is
always "".
So what can be the problem?
tks
Simone
|
|
|
|
|