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:

Ok here is a question? (1997) Experience with creating real dynamic solutions?????? (1998) f2 download problems (1997) WebDNA Solutions ... sorry! (1997) Potential Conflicts? (1997) form data submission gets truncated (1997) [SetHeader] docs? (1997) Online reference (1997) Bug Report, maybe (1997) WebCat on Alpha? (1997) Requiring that certain fields be completed (1997) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Banners (1997) Webstar / WebCat - Persistent Setting (2003) Non expiring cookies again (*sorry*) (1999) Limit on nested [ShowIf]'s? (1997) Need help... (1997) SOP for WebDNA talk (2004) OT?: Size issues (2001) cc auth with [purchase] (1998)