Re: addlineitem is not saving a variable.
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57335
interpreted = N
texte = What is the value of [value] that you are expecting? This will be the valueof the formvariable named 'add'. What is [sku[value]] interpreting to? Whatis [quantity[value]] interpreting to?At first glance, it just seems a bit clumsy having an addlineitem inside asearch inside and formvariables.Maybe show the posting form.Tim> From: "Tommy - Virtualrep Inc."
> Reply-To: (WebDNA Talk)> Date: Tue, 13 Apr 2004 16:12:52 -0700> To: (WebDNA Talk)> Subject: Re: addlineitem is not saving a variable.> > I add 3 misc. products into cart with different quanitities (for the sake of> example, quantity 1,2,3). I will continue shopping and add 3 different> products, all with different quantities as well. (4,5,6). Now when I view> the cart it shows the first 3 products with the quanitities of 4,5,6. The> quantities in the cart will just loop with the quanitities in the last> product adding.> > [showif [option]=addtocart]> [formVariables name=add&exact=T]> > [search> db=databases/products.txt&eqSKUdatarq=[interpret][sku[value]][/interpret]]> [foundItems]> [addlineitem> sku=[sku]&cart=[cart]&db=databases/products.txt]textA=[productOption]&quanti> ty=[interpret][quantity[value]][/interpret][/addlineitem]> [/foundItems]> [/search]> > [/formvariables]> [/showif]> > What is happening here that is going wrong?> > > -------------------------------------------------------------> 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/-------------------------------------------------------------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:
What is the value of [value] that you are expecting? This will be the valueof the formvariable named 'add'. What is [sku[value]] interpreting to? Whatis [quantity[value]] interpreting to?At first glance, it just seems a bit clumsy having an addlineitem inside asearch inside and formvariables.Maybe show the posting form.Tim> From: "Tommy - Virtualrep Inc." > Reply-To: (WebDNA Talk)> Date: Tue, 13 Apr 2004 16:12:52 -0700> To: (WebDNA Talk)> Subject: Re: addlineitem is not saving a variable.> > I add 3 misc. products into cart with different quanitities (for the sake of> example, quantity 1,2,3). I will continue shopping and add 3 different> products, all with different quantities as well. (4,5,6). Now when I view> the cart it shows the first 3 products with the quanitities of 4,5,6. The> quantities in the cart will just loop with the quanitities in the last> product adding.> > [showif [option]=addtocart]> [formVariables name=add&exact=T]> > [search> db=databases/products.txt&eqSKUdatarq=[interpret][sku[value]][/interpret]]> [founditems]> [addlineitem> sku=[sku]&cart=[cart]&db=databases/products.txt]textA=[productOption]&quanti> ty=[interpret][quantity[value]][/interpret][/addlineitem]> [/foundItems]> [/search]> > [/formvariables]> [/showif]> > What is happening here that is going wrong?> > > -------------------------------------------------------------> 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/-------------------------------------------------------------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/
Tim Robinson
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:
WebTEN vs webSTAR (1998)
&max= (2003)
Month from number (2002)
Setting up shop (1997)
auto adding SKUs w/DB helper (1998)
HELP! Search finding too much! (1998)
New site announcement + Showing once on a founditems (1997)
[WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018)
Passing Cart variable to subdirectory files? (1997)
Sort Order on a page search (1997)
[OT] 'Email this story to a friend' (2003)
WCS Newbie question (1997)
WebCat2: multiple currency support (1997)
Emailer Problem (2000)
is there a global includes directory? (1998)
P3P and IE 6 (2004)
pop up building with summarize (1998)
problems with 2 tags (1997)
Writefile doesn't work, which permissions to use? (2005)
[format xs] freeze (1997)