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. Ican get the checkboxes to appear correctly, but since the box is alwaysunchecked initially my showif/addlineitem is always false and notcreated in the html. So...How would you suggest I use the showif to see if the checkbox has beenclicked? Is there someway to pass this info with the submit button? If Ican 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 hasa nested search in it. The page I am working on can be viewed athttp://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 WinchesterSeattle Support GroupPaul@ssgrp.com
Associated Messages, from the most recent to the oldest:
> >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. Ican get the checkboxes to appear correctly, but since the box is alwaysunchecked initially my showif/addlineitem is always false and notcreated in the html. So...How would you suggest I use the showif to see if the checkbox has beenclicked? Is there someway to pass this info with the submit button? If Ican 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 hasa nested search in it. The page I am working on can be viewed athttp://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 WinchesterSeattle Support GroupPaul@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)