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:

Pass a form (2003) Secure Server (1997) ACGI processing for .html (1997) [/application] error? (1997) [WebDNA] PayPal integration code examples? (2011) Time code! (2002) Re:Has this happened to you? (was:Emailer Chokes on bad address) (1997) Quit revisited (1997) Include a big block of text (1997) Reminder for beta testers (2000) Checkboxes (1997) Press Release hit the NewsWire!!! (1997) Simple way to create unique SKU (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Download URL & access on the fly ? (1997) RE: Price recalc based on quantity (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Cross domains Shopping Carts (2003) Lost Installer (2000) Multiple adding (1997)