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:

Where's Cart Created ? (1997) WebCat2: multiple currency support (1997) Generating unique SKU from [cart] - Still Stumped... (1997) Date Calulation (1997) Refreshing Javascript (2001) I found a bug ... (1997) Alternating colors (1997) Problems setting MIME Headers (1998) Cant open pages generated by Webcat (2004) Triggers and coupons (two questions) (2003) Document Contains No Data! (1997) Don't tick me off :) [elaspedtime] (1997) Recursive includes (1998) [WebDNA] Putting '&search' into URL killing all search contexts on my sites (2010) [OT] Forums - check it out (2005) Getting total number of items ordered (1997) webDNA engine creating duplicate lineitems?! (2004) FW: WebDNA-Talk searchable? (1997) Question... (2002) Date Range Sorting (1997)