Re: Multiple adding

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15751
interpreted = N
texte = The best way to do this is to have a checkbox for each item on your results page whose name is addProd (where [sku] is replaced by the actual product sku) and whose value is [sku] (the actual sku). When they are ready to do the bulk add-to-cart do a simple showpage to get to the shopping cart page and use the [add] context to actually add the products. Since you will be adding a variable number of products, use the [formvariable] context with name=addProd. This loops through all the incoming form variables that were checked off on the previous page. For each form variable found execute the [add] context with the value of the form variable which is the product sku. I hope this helps.John. >Hi there, > >I need to be able to click on multiple Add To Cart items on a single page and not have to keep going back and forth to the same page to add additional items. >Could someone tell me how to do it. > >Thanks >Rodolfo de la Garza > >Rodolfo de la Garza > >------------------------------ >http://www.edifika.com >Rio Lys 337 Col. del Valle >Garza García N.L. 66220 >Mexico. >Tel.52(8) 338-2410 John A. Hill, V.P. Marketing Pacific Coast Software eCommerce / Web Developer Tools http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Multiple adding (John Hill 1997)
  2. Re: Multiple adding (listas 1997)
  3. Multiple adding (listas 1997)
  4. Re: Multiple adding (John Hill 1997)
The best way to do this is to have a checkbox for each item on your results page whose name is addProd (where [sku] is replaced by the actual product sku) and whose value is [sku] (the actual sku). When they are ready to do the bulk add-to-cart do a simple showpage to get to the shopping cart page and use the [add] context to actually add the products. Since you will be adding a variable number of products, use the [formvariable] context with name=addProd. This loops through all the incoming form variables that were checked off on the previous page. For each form variable found execute the [add] context with the value of the form variable which is the product sku. I hope this helps.John. >Hi there, > >I need to be able to click on multiple Add To Cart items on a single page and not have to keep going back and forth to the same page to add additional items. >Could someone tell me how to do it. > >Thanks >Rodolfo de la Garza > >Rodolfo de la Garza > >------------------------------ >http://www.edifika.com >Rio Lys 337 Col. del Valle >Garza García N.L. 66220 >Mexico. >Tel.52(8) 338-2410 John A. Hill, V.P. Marketing Pacific Coast Software eCommerce / Web Developer Tools http://www.smithmicro.com John Hill

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:

Javascript/WebCatalog form population (2001) Confused about Grep Syntax (2004) Possible Bug in 2.0b15.acgi (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Showif date > other date (2004) [OT] Internet connection problem (2003) [WriteFile] problems (1997) Summing fields (1997) NT 4.0/IIS WebCat Installation (1998) authenticate and password (1998) shownext not showing next...still r2 (1997) Bug? (1997) Multiple Merchant Accounts? (1997) WebCatalog dying in NT (1998) AD Error Msg (1997) PCS Emailer's role ? (1997) Country & Ship-to address & other fields ? (1997) parsing multiple xml files... (2004) Modifying Carts (1999) Show if not working in version 4 (2002)