| Author |
Message |
Simone Basso
Guest
|
Posted:
Thu Jan 27, 2005 11:11 pm Post subject:
Basket Pipeline |
|
|
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 |
|
| Back to top |
|
 |
Guest
|
Posted:
Fri Jan 28, 2005 1:29 am Post subject:
Re: Basket Pipeline |
|
|
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. |
|
| Back to top |
|
 |
Matt Nield
Guest
|
Posted:
Fri Jan 28, 2005 2:52 pm Post subject:
Re: Basket Pipeline |
|
|
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...
| Quote: | 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
|
|
|
| Back to top |
|
 |
Simone Basso
Guest
|
Posted:
Fri Jan 28, 2005 3:11 pm Post subject:
Re: Basket Pipeline |
|
|
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 |
|
| Back to top |
|
 |
Simone Basso
Guest
|
Posted:
Fri Jan 28, 2005 3:15 pm Post subject:
Re: Basket Pipeline |
|
|
tks u so much ;)
i think i'll have a lot of questions in the next days ;)
bye |
|
| Back to top |
|
 |
Diego Machado
Guest
|
Posted:
Sat Jan 29, 2005 12:28 am Post subject:
Re: Basket Pipeline |
|
|
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
Simone Basso wrote:
| Quote: | *tks u so much ;)
i think i'll have a lot of questions in the next days ;)
bye *
|
--
Diego Machado
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message897144.html |
|
| Back to top |
|
 |
Craig Boland
Guest
|
Posted:
Wed Feb 02, 2005 8:51 pm Post subject:
RE: Basket Pipeline |
|
|
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:
| Quote: | 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
|
|
|
| Back to top |
|
 |
Simone Basso
Guest
|
Posted:
Thu Feb 03, 2005 3:11 pm Post subject:
Re: Basket Pipeline |
|
|
| tks i did that ! |
|
| Back to top |
|
 |
Vinod Kumar[MSFT]
Guest
|
Posted:
Wed Feb 16, 2005 10:41 pm Post subject:
Re: Basket Pipeline |
|
|
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 |
|
| Back to top |
|
 |
|
|
|
|