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 on subtotals. However, when a customer adds to their cart by going back to our search page, the subtotal does not recalculate and the user has to Reload the page to obtain the correct shipping total. Is there a way to cause the shipping total to recalculate based on the new subtotal created when products are added?Here is the formula from the formulas.db to calculate the shipping costs based on 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-1400 jmcdonald@k12.dserv.com 1335 Dublin Rd St.118-D fax: 614-488-4622 Edu. Mrkt. Rep/WebMaster Columbus, OH 43215 http://www.dserv.com ____________________________________________________________________________ Associated Messages, from the most recent to the oldest:

    
  1. Recalculating Shipping Costs (McDonald, Jim 1997)
Grant:You were so kind to give me a cost variable solution to shipping costs based on subtotals. However, when a customer adds to their cart by going back to our search page, the subtotal does not recalculate and the user has to Reload the page to obtain the correct shipping total. Is there a way to cause the shipping total to recalculate based on the new subtotal created when products are added?Here is the formula from the formulas.db to calculate the shipping costs based on 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-1400 jmcdonald@k12.dserv.com 1335 Dublin Rd St.118-D fax: 614-488-4622 Edu. 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:

Another question about credit cards (1997) sort without the or a (1998) Navigator 4.01 (1997) Webcat listserver - WAS - webcat method for waitingspecific amount of time? (2000) Out of the woodwork (2007) [WebDNA] [OT] potential cheap WebDNA server? (2009) Superfilous Characters (1998) WebCat2b12 CGI Mac - [shownext] problem (1997) Which is Faster (1998) WebCat with WebTen (1998) Couple of techno questions (1999) Possible Bug in 2.0b15.acgi (1997) RE: Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) what the... (2004) Online reference (1997) Sample Tearoom Search Error (1997) problems with WebCat-Plugin () Order not created error (1997) Limiting user access to .tmpl files (1997) feature request-- [epoch] (2004)