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:
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)