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:

Passing Cart variable to subdirectory files? (1997) Tab Charactor (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Running _every_ page through WebCat-error.html (1997) Multiple Replaces? (1997) 1 database keeps getting messed up (2002) New Plug-in and Type 11 errors (1997) Using a database with a short url (2000) Bug alert! (1997) REPOST: Large founditems loops (2000) Logging purchases (1997) [BULK] [WebDNA] [BULK] WebDNA 7 - Ready or Not ?? I'm not sure... (2011) Running WebCat from a CD-ROM (1997) Affiliate program idea (2003) document contains no data (1999) WebCat2b15MacPlugin - showing [math] (1997) Email truncation test (1998) WCS Newbie question (1997) Generating Options for a Form. (1997) WebCat2b15MacPlugin - showing [math] (1997)