Re: Multiple adding

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15772
interpreted = N
texte = The form action tag would be something like
. The showpage command that I mentioned isn't necessary (if no command is fond it is assumed to be a showpage.). If you were to include it you would add a tag like this for Windows or modify the tag for Macintosh Then, next to each line item have a tag something like this: . On the shoppingcart.tmpl page you would use the [formvariable] context to loop through all the sku_to_add variables and add them to the cart using the [add] tag. Farther down on the same page you could use the [orderfile] context to display the contents of the shopping cart. I hope this helps.JOhn. wrote: >What I need in the form action? and Do I need an aditional page called showpage? >Thanks. > > >El 12/20/97 12:30 PM John Hill escribió: > >>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 >> >> >> > > >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 > > > 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 form action tag would be something like . The showpage command that I mentioned isn't necessary (if no command is fond it is assumed to be a showpage.). If you were to include it you would add a tag like this for Windows or modify the tag for Macintosh Then, next to each line item have a tag something like this: . On the shoppingcart.tmpl page you would use the [formvariable] context to loop through all the sku_to_add variables and add them to the cart using the [add] tag. Farther down on the same page you could use the [orderfile] context to display the contents of the shopping cart. I hope this helps.JOhn. wrote: >What I need in the form action? and Do I need an aditional page called showpage? >Thanks. > > >El 12/20/97 12:30 PM John Hill escribió: > >>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 >> >> >> > > >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 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:

[ShowIf] if the varieable exists (1998) Possible Bug in 2.0b15.acgi (1997) Search design (1997) WebCat2 several catalogs? (1997) (1997) WebCatalog-NT?'s (1996) Nested search (1997) Off Topic: Frames Killer? (1998) Milliseconds (1998) New Command prefs ... (1997) Mozilla/4. and Browser Info.txt (1997) Search Questions (2000) RE:DatabaseHelper (1997) FYI: virus alert (1996) Shopping carts and reloading pages (1997) default error on NT? (1997) minimalist shopping cart. (1997) writefile to create static pages (2003) service stop and restart (1997) generator prob (2001)