Re: Cart Question: The Epic Saga
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21323
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:
TCP Connect/send and CGI (2003)
Up and running ... at last !! (1997)
Upload to LINUX always breaks my sites - why? (2004)
Thanks for tips, more quest (1997)
F3 crashing server (1997)
[REPLACE] inside [FOUNDITEMS] (1998)
Running 2 two WebCatalog.acgi's (1996)
Newbie Help Needed (1998)
WebCatalog not running after upgrade (2000)
Searching multiple records for certain info (2000)
expired beta (1997)
RE: WebCatalog2 for NT Beta Request (1997)
Separate server for jpg/gif files (1998)
webcat method for waiting specific amount of time? (2000)
ASP and WebDNA (1998)
Major Security Hole IIS NT (1998)
WebCat2.0 [format thousands .0f] no go (1997)
A matter of time (1997)
[WebDNA] Looking for Govinda (2011)
[WebDNA] Escaping content for JSON (2013)