add vs. addlineitem

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56388
interpreted = N
texte = hi all... just checking... i can't use [addlineitem] without passing a cart to the page containing the [addlineitem]? true or false? reason: if i have a shcart page that contains [addlineitem] like this: [AddLineItem cart=[cart]&sku=gp001&db=gigprod2.db][/AddLineItem] and link to it without passing anything in the url i get empty cart page. if i have the same shcart page with [addlineitem] in it and link to it like that: ......shopcart.html?command=add&cart=111&sku=gp001&db=gigprod2.db i get 2 entries of the same sku. so both work - the add in the url and the [addlineitem]. if i link only using the cart number expecting the [addlineitem] will do it's job like: ......shopcart.html?cart=111 i get blank shcart page again. all i'm trying to do is to make [addlineitem] work without passing anything - expecting that the cart will be generated automatically and registered... what am i doing wrong? thanks.... ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. add vs. addlineitem ( Kalin Mintchev 2004)
hi all... just checking... i can't use [addlineitem] without passing a cart to the page containing the [addlineitem]? true or false? reason: if i have a shcart page that contains [addlineitem] like this: [AddLineItem cart=[cart]&sku=gp001&db=gigprod2.db][/AddLineItem] and link to it without passing anything in the url i get empty cart page. if i have the same shcart page with [addlineitem] in it and link to it like that: ......shopcart.html?command=add&cart=111&sku=gp001&db=gigprod2.db i get 2 entries of the same sku. so both work - the add in the url and the [addlineitem]. if i link only using the cart number expecting the [addlineitem] will do it's job like: ......shopcart.html?cart=111 i get blank shcart page again. all i'm trying to do is to make [addlineitem] work without passing anything - expecting that the cart will be generated automatically and registered... what am i doing wrong? thanks.... ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Kalin Mintchev

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) Permission denied for append context (2004) Emailer help....! (1997) webcat 2.1 new cart fields - please explain more (1998) Stop the madness. (1997) [ConvertChars] problem (1997) take me off mailing list please (2001) RE: IIS4b2 and WebCatalog b19 (1997) Webcat causing crashes left and right! (1997) Shownext - am i missing something? (1998) rotating thumbnails (1997) RE: ShowNext Command (1997) showif field is number (1997) WCS Newbie question (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) 2cd pair of eyes (2003) PSC recommends what date format yr 2000??? (1997) $Append for Users outside the ADMIN group (1997) Search or delete (or date or time) has bugs ... (1998) Stumpted Again (1997)