Re: Problem with pull down menu

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21842
interpreted = N
texte = >I have a search on one page that will find certain items, the on the next >page I have a pull down menu that lists the item Titles [Title], my >problem is that I can't figure a way to have the [Brand] info for the >exact [Title] that is chosen by the pull down menu sent as well. I am >able to get all the [Brand]s sent but not the one just for the [Title] >from the menu.>[founditems] > >[/founditems]I think that instead of passing the title thru, you should instead pass the product's unique SKU thru. That way you can look up the corresponding Title and Brand (and anything else) on the next page.[founditems] [/founditems]-- details.tpl -- [search db=products.db&eqSKUdata=[sku]] [founditems] [Brand], [Title], [whatever] (this will always find just one item, becase the SKU is unique) [/founditems] [/search]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: Problem with pull down menu (Rob Marquardt 1998)
  2. Re: Problem with pull down menu (PCS Technical Support 1998)
  3. Problem with pull down menu (bradeisenberg@iname.com 1998)
>I have a search on one page that will find certain items, the on the next >page I have a pull down menu that lists the item Titles [Title], my >problem is that I can't figure a way to have the [Brand] info for the >exact [Title] that is chosen by the pull down menu sent as well. I am >able to get all the [Brand]s sent but not the one just for the [Title] >from the menu.>[founditems] > >[/founditems]I think that instead of passing the title thru, you should instead pass the product's unique SKU thru. That way you can look up the corresponding Title and Brand (and anything else) on the next page.[founditems] [/founditems]-- details.tpl -- [search db=products.db&eqSKUdata=[sku]] [founditems] [Brand], [Title], [whatever] (this will always find just one item, becase the SKU is unique) [/founditems] [/search]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:

HideIf ip= OR ip (1998) WebCatalog Hosting (1996) W* 3.x & WebCat + WebMerchant (1998) Web Catalog 2 demo (1997) Capturing the referring site (1999) Search logic? (1998) Nesting WebDNA in JavaScript (2003) help needed: Non-english characters in WebCatalog (1997) NT Version on IIS 4.0 (1997) Reversed words (1997) ANYONE (1999) How do I find where my IP address is located (2000) foreign languages, email, webcat (1998) Nested vs conditional (1997) Repeating Fields (1997) WebCat2b15MacPlugin - showing [math] (1997) Listwords and the & (2001) math/text variable limits per page (2001) Re2: frames & carts (1997) Further tests with the infamous shipCost (1997)