form variables and missing quantities!

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57304
interpreted = N
texte = I have a list of products that is displayed on a page, each item has a choice of quantity and then a check box to specify the product picked. The next page, the shopping cart then will display the correct product, but won't display the quantity, like its not even there. Is there something I am missing, or just totatlly botching? Here is a selection of code for the list of products: [search db=databases/products.txt&eqSHOWdatarq=y&eqCATEGORYdatarq=[url][category][/u rl]&eqTYPEdatarq=[url][type][/url]&asNAMEsort=1][founditems] [name] $[format .2f][price][/format] [/founditems][/search] Here is a selection from the shopping cart page: [showif [option]=add] [formvariables name=add&exact=T] [addlineitem cart=[cart]&db=databases/products.txt&sku=[url][sku][/url]]textA=[productOpt ion]&quantity=[interpret][quantity[interpret][value][/interpret]][/interpret ][/addlineitem] [/formvariables] [/showif] and ------------------------------------------------------------- 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: form variables and missing quantities! ( Tim Robinson 2004)
  2. Re: form variables and missing quantities! ( Glenn Busbin 2004)
  3. form variables and missing quantities! ( "Tommy" 2004)
I have a list of products that is displayed on a page, each item has a choice of quantity and then a check box to specify the product picked. The next page, the shopping cart then will display the correct product, but won't display the quantity, like its not even there. Is there something I am missing, or just totatlly botching? Here is a selection of code for the list of products: [search db=databases/products.txt&eqSHOWdatarq=y&eqCATEGORYdatarq=[url][category][/u rl]&eqTYPEdatarq=[url][type][/url]&asNAMEsort=1][founditems] [name] $[format .2f][price][/format] [/founditems][/search] Here is a selection from the shopping cart page: [showif [option]=add] [formvariables name=add&exact=T] [addlineitem cart=[cart]&db=databases/products.txt&sku=[url][sku][/url]]textA=[productOpt ion]&quantity=[interpret][quantity[interpret][value][/interpret]][/interpret ][/addlineitem] [/formvariables] [/showif] and ------------------------------------------------------------- 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/ "Tommy"

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:

Re[2]: 2nd WebCatalog2 Feature Request (1996) RE: groups and [ShowNext] (1997) Searching multiple Databases (1997) Catalog page question (1999) no global [username] or [password] displayed ... (1997) Sort order (1998) Suggestions for Topics to be covered in an Advanced (1998) Protect (1997) Separate server for jpg/gif files (1998) searching by date (1998) RE: formula.db, adding option prices (1997) question: webmerchant connection (1997) Getting Emailer to send mail (1997) bannerads example idiot (1997) Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003) WebCat2 several catalogs? (1997) linux logs (2000) SSL and reg web*L and reg web* (1997) Reversed words (1997) redirect from the errorsMessages.db entry (1997)