Re: [price] via a search

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 22029
interpreted = N
texte = >I have a products.db which contains: >sku price >1001 [search >db=someother.db&eqskudatarq=[sku]][founditems][Cost][/founditems][/search] >etc etc > >Then in my templates I would wrap all references to [price] inside of an >[interpret] context and the values are returned correctly.The formulas.db was designed to be able to handle this type of situation already. Meaning that you ought to be able to put your big [search] into the formula for price and it should be executed at the time something is added to the cart. Formulas are automatically wrapped inside an [interpret], so you don't need to add that yourself.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: [price] via a search (PCS Technical Support 1998)
  2. [price] via a search (Marty Schmid 1998)
>I have a products.db which contains: >sku price >1001 [search >db=someother.db&eqskudatarq=[sku]][founditems][Cost][/founditems][/search] >etc etc > >Then in my templates I would wrap all references to [price] inside of an >[interpret] context and the values are returned correctly.The formulas.db was designed to be able to handle this type of situation already. Meaning that you ought to be able to put your big [search] into the formula for price and it should be executed at the time something is added to the cart. Formulas are automatically wrapped inside an [interpret], so you don't need to add that yourself.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:

case sensitivity in lookups (1997) Re:2nd WebCatalog2 Feature Request (1996) Greeting Card System (2000) writing orders to a db (1997) Server slowing down. (1997) Multiple cart additions (1997) Country & Ship-to address & other fields ? (1997) member logins database (2003) Templates for Customer Database? (1997) POST through TCPConnect (1999) listfiles-looking for slick solution (1997) Encrypted links ... (2000) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Sendmail and SMTP AUTH (2005) Append File help needed (2000) Checking two required fields (1998) Custom Shipping Charges (1997) Using [Showif] tag. Mac (1997) Vanity counter side note (1998) searchable list archive (1997)