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:

webcat method for waiting specific amount of time? (2000) Locking up with WebCatalog... (1997) how to determine the actual file format of an image file?- done (2002) Price + Texte (1999) Variable prices and Formulas.db (1997) Database not found in Include (2002) Adding discount to cart (2000) Nesting format tags (1997) Duplicate Cart #'s (1998) Quickbooks Invoice / Payment Generation (2006) [/application] error? (1997) [defined]ish (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) setcookie expires (2004) Loss in Form (1998) I have observed and I am gone. (1998) [include ...] behavior (1997) Sku numbers (1997) error: Too many nested [xxx] contexts (1997) docs for WebCatalog2 (1997)