Cart Question: The Epic Saga
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21288
interpreted = N
texte = OK. Thanks to all who had suggestions for getting this working. Now I have aresults page that reloads itself when I add an item to the cart. Kewl :).However, now I have a new problem. I reach a results page in one of twoways: From the home page, via a url that displays all items in thecatalog. The other is via a multiselection form on the home page thatallows a customer to search for individual catagories. Because I could thinkof no other way to do it, the url directs customers to a page calledresults.tpl, and the form directs them to customresults.tplResults.tpl displays everything fine, adds items to the cart and refreshesitself without problems. This was done by wrapping founditems in a searchcontext. OK, so far so good. Now, here's the problem. I cannot think of away to have customresults.tpl perform the same thing. Wrapping founditems ina search context displays everything properly when the visitor first viewsthe page, but if they try to add an item to their cart, when the pagerefreshes, all the items in the catalog are displayed. It's obvious to mewhy: founditems is fed everything in the catalog by the enclosing searchcontext. I can think of no way to pass the variables selected on the homepage to the enclosing search context each time a visitor adds an item totheir cart so that founditems displays the correct information. Any ideas??If anyone would like to see the pages in question email me privately.thanx,-will
Associated Messages, from the most recent to the oldest:
OK. Thanks to all who had suggestions for getting this working. Now I have aresults page that reloads itself when I add an item to the cart. Kewl :).However, now I have a new problem. I reach a results page in one of twoways: From the home page, via a url that displays all items in thecatalog. The other is via a multiselection form on the home page thatallows a customer to search for individual catagories. Because I could thinkof no other way to do it, the url directs customers to a page calledresults.tpl, and the form directs them to customresults.tplResults.tpl displays everything fine, adds items to the cart and refreshesitself without problems. This was done by wrapping founditems in a searchcontext. OK, so far so good. Now, here's the problem. I cannot think of away to have customresults.tpl perform the same thing. Wrapping founditems ina search context displays everything properly when the visitor first viewsthe page, but if they try to add an item to their cart, when the pagerefreshes, all the items in the catalog are displayed. It's obvious to mewhy: founditems is fed everything in the catalog by the enclosing searchcontext. I can think of no way to pass the variables selected on the homepage to the enclosing search context each time a visitor adds an item totheir cart so that founditems displays the correct information. Any ideas??If anyone would like to see the pages in question email me privately.thanx,-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:
videos.. yak..yak (1998)
emailer (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Requiring that certain fields be completed (1997)
suggestions for a good text editor on windows? (2005)
this works sometimes and sometimes not (1997)
[WebDNA] How to create a MD5 hash & decrypt it (2011)
Help!HELP!HELP! (1999)
Need some Java Script Code (2003)
Same DB Same Time (2004)
[WebDNA] Gratz with 6.1b1 (2008)
Comments in db? (1997)
Sorting Orders (1997)
[WebDNA] Testing (2016)
RE: Formulas.db + Users.db (1997)
maximu values for sendmail! (1997)
wrong input values? (1997)
Big Databases (1997)
HELP WITH DATES (1997)
more on quicktime test stuff (1997)