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:

What's the grep? (2004) [/application] error? (1997) [WebDNA] Local Development On Windows 8.1 (2015) Password Generator (2004) Next X hits (1996) Fufillment e-mail? (1998) [/application] error? (1997) Text data with spaces in them... (1997) OT: Please set your computer's clock (1997) practicing safe queries.. (2000) Sorting Numbers (1997) Ampersand (1997) WebCat2: Formulas.db question (1997) Re:2nd WebCatalog2 Feature Request (1996) Request Time Out (1997) dynamic giffing. (2000) [WebDNA] Help with ReplaceFoundItems (2009) New command suggestion (1997) search form problem.. (1997) WebCat2b15MacPlugin - showing [math] (1997)