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 see the templates as well...-will Associated Messages, from the most recent to the oldest:

    
  1. Re: Cart Question: The Epic Saga (Will Starck 1998)
  2. Re: Cart Question: The Epic Saga (Will Starck 1998)
  3. Re: Cart Question: The Epic Saga (PCS Technical Support 1998)
  4. Cart Question: The Epic Saga (Will Starck 1998)
>>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 see the 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:

iTools and 3.0.8 (2000) BBEdit WedDNA Codeless Language Module (2004) GetCookie name error in docs (2003) sku, title, price not showing up (1998) Formatting time output (2000) Fwd: Re(2): Password and Allow commands (1998) Authenticate (1997) [TaxableTotal] - not working with AOL and IE (1997) [WebDNA] Mac OS X 10.9.2 Webdna Installation Instructions (2014) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) Error:Too many nested [xxx] contexts (1997) Major bug report on rootbeer (1997) SHOWIF/HIDEIF empty fields (2005) Adding a product from another site (1997) Webcat run amuk (2002) Validation (2000) [shownext] support - MacOS (1997) No Access warning when caching HTML files (1997) USPS - SiteBuilder (2006) Tiny Store (1998)