Re: [taxrate] question

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12455
interpreted = N
texte = >I am having a bit of trouble getting the [taxrate] and [taxtotal] to show >up correctly. As it is now, they always end up with total of 0.00. As far >as I can tell, the WEBDNA is OK.I'll suggest a way to debug this, but first I'll take a wild guess as to the answer: does your product catalog have taxable set to T for those items? If they're not taxable, they won't get taxed.Anyway, on to debugging:try putting[shiptostate]
[lookup db=TaxRates.db&lookInField=state&value=[shiptostate]&returnField=taxRate¬Found=0.00]directly into your invoice page so you can see what those values are.Grant 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: [taxrate] question (Kevin Furuta 1997)
  2. Re: [taxrate] question (Grant Hulbert 1997)
  3. [taxrate] question (Kevin Furuta 1997)
>I am having a bit of trouble getting the [taxrate] and [taxtotal] to show >up correctly. As it is now, they always end up with total of 0.00. As far >as I can tell, the WEBDNA is OK.I'll suggest a way to debug this, but first I'll take a wild guess as to the answer: does your product catalog have taxable set to T for those items? If they're not taxable, they won't get taxed.Anyway, on to debugging:try putting[shiptostate]
[lookup db=TaxRates.db&lookInField=state&value=[shiptostate]&returnField=taxRate¬Found=0.00]directly into your invoice page so you can see what those values are.Grant 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:

Robust WebDNA Job Manager / Accountant (2006) Maybe off topic but how to charge (1997) Separate SSL Server (1997) RE: pricing continued (1998) [purgeDatabase], [replaceChars] and others ... (1997) Clear command and ShoppingCart.tmpl (1997) Multiple prices (1997) popups, netscape vs explorer (1997) Include + Variables = bahh (2000) suffix mapping for NT? (1997) problems with 2 tags (1997) [WebDNA] Dynamic vertical columns (2008) Running 2 two WebCatalog.acgi's (1996) PSC recommends what date format yr 2000??? (1997) Re1000001: Setting up shop (1997) Newbie Help (2003) Webcat/Webmerchant (1998) Physical Proximity searches (2000) WebCatalog2 Feature Feedback (1996) Format of Required fields error message (1997)