Recalculating Shipping Costs
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15270
interpreted = N
texte = Grant:You were so kind to give me a cost variable solution to shipping costs based onsubtotals. However, when a customer adds to their cart by going back to oursearch page, the subtotal does not recalculate and the user has to Reload thepage to obtain the correct shipping total. Is there a way to cause theshipping total to recalculate based on the new subtotal created when productsare added?Here is the formula from the formulas.db to calculate the shipping costs basedon the subtotal: shipCost [math show=f]rate=.04[/math][showif [subtotal]>499.99][math show=f]rate=.03[/math][/showif][showif [subtotal]>1499.99][math show=f]rate=.02[/math][/showif][math][subtotal]*rate[/math]Thank you for your help.____________________________________________________________________________Jim McDonald DataServ, Inc. tel: 614-488-1400jmcdonald@k12.dserv.com 1335 Dublin Rd St.118-D fax: 614-488-4622Edu. Mrkt. Rep/WebMaster Columbus, OH 43215 http://www.dserv.com____________________________________________________________________________
Associated Messages, from the most recent to the oldest:
| |
- Recalculating Shipping Costs (McDonald, Jim 1997)
|
Grant:You were so kind to give me a cost variable solution to shipping costs based onsubtotals. However, when a customer adds to their cart by going back to oursearch page, the subtotal does not recalculate and the user has to Reload thepage to obtain the correct shipping total. Is there a way to cause theshipping total to recalculate based on the new subtotal created when productsare added?Here is the formula from the
formulas.db to calculate the shipping costs basedon the subtotal: shipCost [math show=f]rate=.04[/math][showif [subtotal]>499.99][math show=f]rate=.03[/math][/showif][showif [subtotal]>1499.99][math show=f]rate=.02[/math][/showif]
[math][subtotal]*rate[/math]Thank you for your help.____________________________________________________________________________Jim McDonald DataServ, Inc. tel: 614-488-1400jmcdonald@k12.dserv.com 1335 Dublin Rd St.118-D fax: 614-488-4622Edu. Mrkt. Rep/WebMaster Columbus, OH 43215 http://www.dserv.com____________________________________________________________________________
McDonald, Jim
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:
[searchString] (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
retain raw [cart] submitted value (2004)
2.0 Info (1997)
Making webcam movies (2003)
Changing names of .hdr field names (2003)
WebCat B13 Mac CGI -- Frames question (1997)
Error Lob.db records error message not name (1997)
WebMerchant email template format? (1997)
Search in 2 or more catalogs (1997)
Multiple prices (1997)
Can't access [OrderFile] OSXS WC4 (2000)
[HIDEIF] inside [FOUNDITEM] (1997)
Make sure I understand this??? (1997)
[WebDNA] screen size (2011)
HELP!!! (1998)
WebTen and WebCat (1997)
problems with 2 tags shakur (1997)
Logging purchases (1997)
failure to encrypt (or maybe decrypt) (1999)