Re: Now you see it now you donīt

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15450
interpreted = N
texte = El 12/5/97 6:10 PM Kenneth Grome escribió:>>I have this lines in the ShopingCart.tmpl file... >> >>[lineItems] >> >>[title] >> >>$[format .2f][price][/format] >>$[format .2f][math][quantity]*[price][/math][/format] >>$[unitShipCost] >>>href=ShoppingCart.tmpl$remove?db=store.db&sku=[url][sku][/url]&cart=[cart] >>>Remove Item [lineIndex] >>[/lineItems] >> >>When the browser shows this page I can see the title of the product I >>added, but the price is $0.00 >> >>Do I miss something? > > >Yes ... :) > >You have a price record in your formulas.db, right? > >Whenever the [price] tag appears inside a [lineitems] context, as it >does above, that price formula automatically overrides the [price] >value from the database. > >The solution is to remove the price record in the formulas.db, >because when there's no record for a price formula in the >formulas.db, WebCat cannot use it to override the [price] from the >database ... :) > >Sincerely, Ken Grome >ken@iav.com >WebDNA Solutions >http://www.smithmicro.com/webdnasolutions/ > >... > > > Hi Ken,I did it and It works.Thanks Rodolfo de la Garza Associated Messages, from the most recent to the oldest:

    
  1. Re: Now you see it now you donīt (listas 1997)
  2. Re: Now you see it now you donīt (Kenneth Grome 1997)
  3. Now you see it now you donīt (listas 1997)
  4. Re: Now you see it now you donīt (Grant Hulbert 1997)
  5. Re: Now you see it now you donīt (Kenneth Grome 1997)
El 12/5/97 6:10 PM Kenneth Grome escribió:>>I have this lines in the ShopingCart.tmpl file... >> >>[lineitems] >> >>[title] >> >>$[format .2f][price][/format] >>$[format .2f][math][quantity]*[price][/math][/format] >>$[unitShipCost] >>>href=ShoppingCart.tmpl$remove?db=store.db&sku=[url][sku][/url]&cart=[cart] >>>Remove Item [lineIndex] >>[/lineItems] >> >>When the browser shows this page I can see the title of the product I >>added, but the price is $0.00 >> >>Do I miss something? > > >Yes ... :) > >You have a price record in your formulas.db, right? > >Whenever the [price] tag appears inside a [lineitems] context, as it >does above, that price formula automatically overrides the [price] >value from the database. > >The solution is to remove the price record in the formulas.db, >because when there's no record for a price formula in the >formulas.db, WebCat cannot use it to override the [price] from the >database ... :) > >Sincerely, Ken Grome >ken@iav.com >WebDNA Solutions >http://www.smithmicro.com/webdnasolutions/ > >... > > > Hi Ken,I did it and It works.Thanks Rodolfo de la Garza listas

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:

[Announce]: Web server security and password protection (1997) Reloading Shopping Carts (1998) webcatalog [date] bug...not (1999) Webcat table size. (2001) WebCat2b15MacPlugin - [protect] (1997) Using Plug-In while running 1.6.1 (1997) Download Question (1997) WebCat2b15MacPlugin - showing [math] (1997) WC2.0 Memory Requirements (1997) Multiple serial numbers (1997) Nav. 4 probs with cart (1997) date formatting for CC card expiration date check (1998) Shownext never shows next...still (1997) New public beta available (1997) Not reading code (1997) Webstar V & OS X (2001) Multiple Pulldowns (1997) Error: Too many nested [xxx] contexts (WebTen only) (1997) Can someone remove this guy with the 186k emails!? (Thanks for the email!) (1998) webcat list slow? (1998)