Re: Multiple cart additions

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13998
interpreted = N
texte = >>Yes, use showif to see if the checkbox was clicked, and addlineitem to add >>the items. > >Would this take place on the same page?No, it can't take place on the same page, because you don't know what's been checked until you get to the next page.>[search db=whittle.db&skusort=1&eqcategorydata=[url][cagetory][/url]] >[founditems] > > > [title] > [description] > [price] >You'd need the NAME and VALUE to be uniqe for each item, otherwise it can't tell the difference between two different checkboxes. In your example, the form variables would look like:add=purchase add=purchase add=purchaseI think you could probably put an index after the form name, and set the value to the SKUThat way the values would look likeadd1=XYZ add7=ABC_DEFThen you could use [FromVariables] to enumerate the names that begin with addGrant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Multiple cart additions (Bob Minor 1997)
  2. Re: Multiple cart additions (Grant Hulbert 1997)
  3. Re: Multiple cart additions (Grant Hulbert 1997)
  4. Re: Multiple cart additions (bob 1997)
  5. Re: Multiple cart additions (bob 1997)
  6. Re: Multiple cart additions (bob 1997)
  7. Re: Multiple cart additions (Grant Hulbert 1997)
  8. Re: Multiple cart additions (bob 1997)
  9. Re: Multiple cart additions (bob 1997)
  10. Re: Multiple cart additions (Grant Hulbert 1997)
  11. Multiple cart additions (bob 1997)
>>Yes, use showif to see if the checkbox was clicked, and addlineitem to add >>the items. > >Would this take place on the same page?No, it can't take place on the same page, because you don't know what's been checked until you get to the next page.>[search db=whittle.db&skusort=1&eqcategorydata=[url][cagetory][/url]] >[founditems] > > > [title] > [description] > [price] >You'd need the NAME and VALUE to be uniqe for each item, otherwise it can't tell the difference between two different checkboxes. In your example, the form variables would look like:add=purchase add=purchase add=purchaseI think you could probably put an index after the form name, and set the value to the SKUThat way the values would look likeadd1=XYZ add7=ABC_DEFThen you could use [FromVariables] to enumerate the names that begin with addGrant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Append File help needed (2000) OT: javascript for dynamic pulldowns? (1998) New Featured Site (1999) emailer (1997) carriage returns in data (1997) [GROUPS] followup (1997) Listfiles on OSX (2002) Javascript and Search Results (1998) Search as error page (2002) Error Page? (1997) exclamation mark... (1999) One more try (1997) [SearchString] usage (1997) RE: Migrating to NT (1997) Grep Help (2003) Country & Ship-to address & other fields ? (1997) price change help (1998) More on the email templates (1997) unable to launch acgi in WebCat (1997) strange [Shell] things / Linux (2000)