Re: Cart Question: The Epic Saga

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21322
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.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ 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.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

AOL and referrers on target=_blank (2000) Every other record deleted (2005) WC2b12: Yes, Formulas.db is for real (1997) Removing [showif] makes a big difference in speed (1997) Setting Cart value (2000) [showif] with ! (2000) OSX Jaguar (2002) Classified (1999) re: keep W* in front applescript? (try Cron) (1998) Less than or equal to........ (1997) Custom error files (1998) Almost There But? WebCat Keeps Changing Cart Numbers on Me! (2002) chicken / egg::purchase / setheader (2002) Bug in 4.5 - Needs to be fixed ASAP. (2002) Protect vs Authenicate (1997) Summing fields (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) problems with 2 tags shakur (1997) RAM variables (1997) Safari browser and WebDNA set-cookies (2003)