Re: How can I Add several Items into the cart at once?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13667
interpreted = N
texte = > >What I want to be able to do is have the customer check all the items > >they want to buy and > >then press a Proceed to Checkout button to add the items all at once, Snip > > Create a bunch of [ShowIf] contexts (one for each SKU with a checkbox), and > check to see if the checkbox has been clicked, and if it has then the enclosed > AddLineItem will do its thing. > > Grant Hulbert, V.P. EngineeringThis is exactly what I want to do and have not been successful yet. I can get the checkboxes to appear correctly, but since the box is always unchecked initially my showif/addlineitem is always false and not created in the html. So... How would you suggest I use the showif to see if the checkbox has been clicked? Is there someway to pass this info with the submit button? If I can get this to work I would be extremely happy with this page. :) --- The url for the page is created on the fly by a Cumulus cgi and also has a nested search in it. The page I am working on can be viewed at http://www.ssgrp.com/ssg/Store/PhotoResults.tmpl$search?db=Photos.db&wophotokeydata=CDP005001,CDP005051 (the only 2 keys in my database now)Thanks for all the help.Paul Winchester Seattle Support Group Paul@ssgrp.com Associated Messages, from the most recent to the oldest:

    
  1. Re: How can I Add several Items into the cart at once? (Grant Hulbert 1997)
  2. Re: How can I Add several Items into the cart at once? (Christer Olsson 1997)
  3. Re: How can I Add several Items into the cart at once? (Paul Winchester 1997)
  4. Re: How can I Add several Items into the cart at once? (natasha 1997)
  5. Re: How can I Add several Items into the cart at once? (Grant Hulbert 1997)
  6. Re: How can I Add several Items into the cart at once? (Pat McCormick 1997)
  7. Re: How can I Add several Items into the cart at once? (natasha 1997)
  8. How can I Add several Items into the cart at once? (Paul Winchester 1997)
> >What I want to be able to do is have the customer check all the items > >they want to buy and > >then press a Proceed to Checkout button to add the items all at once, Snip > > Create a bunch of [showif] contexts (one for each SKU with a checkbox), and > check to see if the checkbox has been clicked, and if it has then the enclosed > AddLineItem will do its thing. > > Grant Hulbert, V.P. EngineeringThis is exactly what I want to do and have not been successful yet. I can get the checkboxes to appear correctly, but since the box is always unchecked initially my showif/addlineitem is always false and not created in the html. So... How would you suggest I use the showif to see if the checkbox has been clicked? Is there someway to pass this info with the submit button? If I can get this to work I would be extremely happy with this page. :) --- The url for the page is created on the fly by a Cumulus cgi and also has a nested search in it. The page I am working on can be viewed at http://www.ssgrp.com/ssg/Store/PhotoResults.tmpl$search?db=Photos.db&wophotokeydata=CDP005001,CDP005051 (the only 2 keys in my database now)Thanks for all the help.Paul Winchester Seattle Support Group Paul@ssgrp.com Paul Winchester

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:

Help! WebCat2 bug (1997) Re[2]: when is failing to [URL]ize values in a comparison ri (1999) Languages (1997) Summ=T Problem (1997) WebCat2: Found Items syntax, etc. (1997) WebCat2b13MacPlugIn - [include] (1997) WebCat2 - Getting to the browser's username/password data (1997) is this how [break] works? (1998) Summing fields (1997) [WebDNA] Fwd: RETS... HELP! (2009) Logging purchases (1997) Multiple prices (1997) Dealer Locator (zip codes) (2003) Did you hear about this? (1997) Date Sorting (1997) FAX solutions? (2001) New servers and new inline cache (1997) Roundup function? (1997) Yet another db manager (2004) WebSTAR 2.1 freezes my Mac (1997)