Basket Pipeline
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Basket Pipeline




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Basket Pipeline  
Simone Basso


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-27-05 10: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






[ Post a follow-up to this message ]



    Re: Basket Pipeline  
shahpiyush@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-27-05 10: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.






[ Post a follow-up to this message ]



    Re: Basket Pipeline  
Matt Nield


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-05 12:51 PM

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
>







[ Post a follow-up to this message ]



    Re: Basket Pipeline  
Simone Basso


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-05 12:51 PM

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






[ Post a follow-up to this message ]



    Re: Basket Pipeline  
Simone Basso


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-05 12:51 PM

tks u so much ;)
i think i'll have a lot of questions in the next days ;)


bye






[ Post a follow-up to this message ]



Diego Machado is offline     Re: Re: Basket Pipeline  
Diego Machado


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for Diego Machado Click here to Send Diego Machado a Private Message Find more posts by Diego Machado Add Diego Machado to your buddy list
 
01-28-05 05: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 pipel
ine component QueryCatalogInfo sets the Delete flag to 1 inside the lineitem
 and the RequiredProdInfo is suposed to remove it from your basket. If it wa
sn'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 iis
reset, 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




[ Post a follow-up to this message ]



    RE: Basket Pipeline  
Craig Boland


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-02-05 10: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
>
>





[ Post a follow-up to this message ]



    Re: Basket Pipeline  
Simone Basso


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-03-05 12:50 PM

tks i did that !






[ Post a follow-up to this message ]



    Re: Basket Pipeline  
Vinod Kumar[MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-16-05 10:50 PM

Can you make sure that the product which you're adding to the OrderForm actu
ally 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!tisca
li!newsfeed1.ip.tiscali.net!news.glorb.com!postnews.google.com!f14g2000cwb.g
ooglegroups.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








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:06 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register