Re: price on detail, but not shoppingcart

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12456
interpreted = N
texte = >href=IntelShoppingCart.tpl?command=add&db=intelcatalog.txt&sku=[url][sku][/ >url]&cart=[cart]>Add to Order > >The sku and description show up as in the detail, but no price!We put a sample formula for [price] into the Formulas.db file. My intention was to give you an example of how to write your own formulas in the future, but in this case it's messing you up.Open your formulas.db and look at the value for price. Notice that it does a lookup in a database called catalog.txt, *not* intelcatalog.txt.1) You can either remove the price line from your formulas file entirely (the default behavior, if no formula is found, is to use the standard price from your database) 2) Or, you can modify the formula to use intelcatalog.txtGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: price on detail, but not shoppingcart (Grant Hulbert 1997)
  2. price on detail, but not shoppingcart (Jonathan Krainak 1997)
>href=IntelShoppingCart.tpl?command=add&db=intelcatalog.txt&sku=[url][sku][/ >url]&cart=[cart]>Add to Order > >The sku and description show up as in the detail, but no price!We put a sample formula for [price] into the formulas.db file. My intention was to give you an example of how to write your own formulas in the future, but in this case it's messing you up.Open your formulas.db and look at the value for price. Notice that it does a lookup in a database called catalog.txt, *not* intelcatalog.txt.1) You can either remove the price line from your formulas file entirely (the default behavior, if no formula is found, is to use the standard price from your database) 2) Or, you can modify the formula to use intelcatalog.txtGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Locking up with WebCatalog... (1997) Not reading code (1997) Make sure I understand this??? (1997) displaying 12 results 4 by 3 (2000) Next (1997) Blocking form spam (2006) [WebDNA] Can't write to a db when working on on a iMac (2019) Uh...can someone help me out with the b10? (1997) Using [Showif] tag. Mac (1997) [cart] Taxrate - seriously .. (2002) Loosing Quantity (2000) RE: Error: template (1997) File Security (1999) Nested tags count question (1997) Add a field to the error log? (1997) Strange search... (2001) More than one db with the same namn (was: WC2f3) (1997) 2003 include path issue (2004) [OT] PHP?MySQL Help Needed (2003) Requiring that certain fields be completed (1997)