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:

WebCatalog Builder : bug on the web site (2000) Re:2nd WebCatalog2 Feature Request (1996) M$loth messes with our sites (again) 2004/02/03 (2004) WebCommerce: Folder organization ? (1997) Help! WebCat2 bug (1997) Sitebuilder (2004) Re[3]: 2nd WebCatalog2 Feature Request (1996) no [search] with NT (1997) Sitebuilder (2004) [WebDNA] A universal version of WebDNA ... (2008) Exclamation Mark with sendmail newsletter (2003) tag request (1999) Re:Emailer Set Up (1997) weird happenings (1997) CAll me Crazy (2000) Date Range search (1997) Mac: LModelDirector bug fix (1997) Duplicate Messages (1998) Multiple prices (1997) [WebDNA] Admin Login Required to Serve any TPL Page (2009)