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:

Templates for Customer Database? (1997) International Orders (1998) OSX 10.1.1 (2001) Protect (1997) Summing fields (1997) Max Record length restated as maybe bug (1997) OT:Stock Quotes (2000) select multiple (1997) Webstar / WebCat - Persistent Setting (2003) frames & carts (1997) WebDNA dying or ... ? (2005) Support ?? (1997) WebCommerce: Folder organization ? (1997) wc 2 pro users - sites, quotes wanted (1997) createfolder not behaving as expected (1999) Appending current [date] to a database (1997) [WebDNA] feature suggestion (2011) shipcost (1997) Nested search (1997) Quitting WebMerchant ? (1997)