Re: Display [price] in banner ad

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19674
interpreted = N
texte = >I am working on a store that has thousands of items and have created some >banner >ads for featured products. I have got it so that when a person clicks on an >specific ad it takes them to the details.tpl for that specific product.OK, assuming your banner ads database has a SKU field in it, and your product database is called Catalog.db, you can do something like the following:Price is: [Lookup db=Catalog.db&lookInField=sku&value=[sku]&returnField=price¬Found=Unknown]T his does a lookup in your product database, looking for the sku from your banner ads databaseTechnical 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: Display [price] in banner ad (PCS Technical Support 1998)
  2. Re: Display [price] in banner ad (Mark Bergkvist 1998)
  3. Re: Display [price] in banner ad (PCS Technical Support 1998)
  4. Re: Display [price] in banner ad (Mark Bergkvist 1998)
  5. Re: Display [price] in banner ad (PCS Technical Support 1998)
  6. Re: Display [price] in banner ad (Mark Bergkvist 1998)
  7. Re: Display [price] in banner ad (Kenneth Grome 1998)
  8. Display [price] in banner ad (Mark Bergkvist 1998)
>I am working on a store that has thousands of items and have created some >banner >ads for featured products. I have got it so that when a person clicks on an >specific ad it takes them to the details.tpl for that specific product.OK, assuming your banner ads database has a SKU field in it, and your product database is called Catalog.db, you can do something like the following:Price is: [Lookup db=Catalog.db&lookInField=sku&value=[sku]&returnField=price¬Found=Unknown]T his does a lookup in your product database, looking for the sku from your banner ads databaseTechnical 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:

Calendar (1997) turning every 5th line red (1998) MacOS X Server problems (2001) Any way to retrieve information from clipboard? (1999) Date Range Sorting (1997) Document Contains No Data! (1997) Summary search -- speed (1997) Sort Order on a page search (1997) Trying to append from within a single template file (2005) New WebCatalog Version !!! (1997) Pls Remove me from all Lists (1998) Ship Cost Not working (2000) WebCat editing, SiteGuard & SiteEdit (1997) Date Formats (1997) reserved characters for field names? (1998) setting taxable to true (1997) Maybe off topic but how to charge (1997) File dates in WebCatalog .tmpl/.inc (1997) forming a SKU (1999) math on date? (1997)