Re: Cart Question: The Epic Saga
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21324
interpreted = N
texte = >>Wrapping founditems in>>a search context displays everything properly when the visitor first views>>the page, but if they try to add an item to their cart, when the page>>refreshes, all the items in the catalog are displayed. It's obvious to me>>why: founditems is fed everything in the catalog by the enclosing search>>context. I can think of no way to pass the variables selected on the home>>page to the enclosing search context each time a visitor adds an item to>>their cart so that founditems displays the correct information.>>While it may look a little funny, you are certainly allowed to pass those>extra search parameters into the command=Add HREF -- they're ignored by the>Add command, but still available to the template's [search] context where>they will be used. You can send me a private email with the URL if you>like, so I can give more specifics.>Thanks, the URL is http://www.novaderm.com. Let me know if you'd like to seethe templates as well...-will
Associated Messages, from the most recent to the oldest:
>>Wrapping founditems in>>a search context displays everything properly when the visitor first views>>the page, but if they try to add an item to their cart, when the page>>refreshes, all the items in the catalog are displayed. It's obvious to me>>why: founditems is fed everything in the catalog by the enclosing search>>context. I can think of no way to pass the variables selected on the home>>page to the enclosing search context each time a visitor adds an item to>>their cart so that founditems displays the correct information.>>While it may look a little funny, you are certainly allowed to pass those>extra search parameters into the command=Add HREF -- they're ignored by the>Add command, but still available to the template's
[search] context where>they will be used. You can send me a private email with the URL if you>like, so I can give more specifics.>Thanks, the URL is http://www.novaderm.com. Let me know if you'd like to seethe templates as well...-will
Will Starck
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:
Moment of Thanks (1997)
Cart # Starting at 1000 (2000)
Custom WebCat Prefs ... (1997)
Ads.db (1997)
Un[url]ize (1999)
F3 crashing server (1997)
https validation (2001)
WebDNA 6 & Oracle (2004)
Newbie from and old bee (1997)
Summing results of a nested search (2006)
cookies (2004)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
[date format] w/in sendmail (1997)
SKU generator? (1998)
Nested tags count question (1997)
Problem with 2.1b3 (1997)
Catalogs and W* (1996)
OT: CT Scan might have saved my life!! (2006)
Content-type:... (2000)
how to determine the actual file format of an image file? (2002)