Re: Shipping formula problem

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14099
interpreted = N
texte = >I have a local shipping value for all products, R50 per item. > >I need to calculate a shipping cost based on quantity in my final >invoice.tmpl. > >If the user purchases 5 items then the shipping cost should be R50 * >quantity 5.This fits the default shipping calculations quite well. I'm not sure what R50 stands for, but I'll assume it's a unit of currency.WebCatalog has the concept of unitShipCost, which automatically charges that amount per unit (it adds up the quantity of each item and multiplies by the unitShipCost). In your formulas.db, change the formula for unitShipCost to be just the number 50, and it should calculate OK.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, 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: Shipping formula problem (Grant Hulbert 1997)
  2. Shipping formula problem (James 1997)
>I have a local shipping value for all products, R50 per item. > >I need to calculate a shipping cost based on quantity in my final >invoice.tmpl. > >If the user purchases 5 items then the shipping cost should be R50 * >quantity 5.This fits the default shipping calculations quite well. I'm not sure what R50 stands for, but I'll assume it's a unit of currency.WebCatalog has the concept of unitShipCost, which automatically charges that amount per unit (it adds up the quantity of each item and multiplies by the unitShipCost). In your formulas.db, change the formula for unitShipCost to be just the number 50, and it should calculate OK.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, 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:

So what ya working on? (or have you completed?) (2004) Caching [include] files ... (1997) Exclamation point (1997) WebCat2 - Getting to the browser's username/password data (1997) Store Builder Documents Features (2005) Locking up with WebCatalog... (1997) Cannot open database (1999) Rhapsody? (1997) webcat- multiple selection in input field (1997) Banners and sort of random display (1997) NT - Thanks and Taxes (1997) Copyright ? (1997) tag request (1999) Time for a hard questions. (1997) Tea Room trouble (1997) Download capabilities (1997) Formatting date to number - more (2000) searching multiple databases (1997) can WC render sites out? (1997) Virtual hosting and webcatNT (1997)