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 value of the formvariable named 'add'. What is [sku[value]] interpreting to? What is [quantity[value]] interpreting to? At first glance, it just seems a bit clumsy having an addlineitem inside a search 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:

    
  1. Re: addlineitem is not saving a variable. ( "Tommy - Virtualrep Inc." 2004)
  2. Re: addlineitem is not saving a variable. ( Glenn Busbin 2004)
  3. Re: addlineitem is not saving a variable. ( Tim Robinson 2004)
  4. Re: addlineitem is not saving a variable. ( "Tommy - Virtualrep Inc." 2004)
  5. Re: addlineitem is not saving a variable. ( Stuart Tremain 2004)
  6. Re: addlineitem is not saving a variable. ( Tim Robinson 2004)
  7. Re: addlineitem is not saving a variable. ( "Tommy - Virtualrep Inc." 2004)
What is the value of [value] that you are expecting? This will be the value of the formvariable named 'add'. What is [sku[value]] interpreting to? What is [quantity[value]] interpreting to? At first glance, it just seems a bit clumsy having an addlineitem inside a search 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:

Unknown error: OrderNotCreated (1997) Webcat & SIMS (1998) Error Log.db --however (1997) 2.0 Info (1997) re:WebCatalog and Filemaker (1996) [WriteFile] problems (1997) Help name our technology! (1997) WebCat2.0 [format thousands .0f] no go (1997) Auth.net and SIM (2003) New Webcatalog for Mac (1997) Shipping by order total (2003) Authorize.net setup (2002) Initiating NewCart (1997) New Command prefs ... (1997) [WriteFile] problems (1997) Nested tags count question (1997) Mac: LModelDirector bug fix (1997) Date search - yes or no (1997) WebCat2 several catalogs? (1997) Configuring E-mail (1997)