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:

anyone moved to v6? (2004) Cumulative Shipping charge calculations - your help please. (1997) Smart caching problems with 2.1b3? (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Format all of a sudden doesn't work (1997) OT: Web Cams (2003) RE: Promise of future help (1998) calculating tax rates, mail order solutions and version 2 (1997) Trapping Emailer Errors (2002) 3.0 [TEXT] variables (1998) Almost a there but..bye bye NetCloak (1997) The word TYPE in search contexts and fields (1998) WebCat2 several catalogs? (1997) Talk List Suggestions (1997) A little syntax help (1997) WebCat2 - Getting to the browser's username/password data (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996) Math inside [showif] (1998) ListVariables Problem (2003) WebCat cannot handle compatible search parameters? (1997)