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:

&max= (2003) problems with 2 tags (1997) Quest renew freware program for FunnelWeb! (2006) Error:Too many nested [xxx] contexts (1997) VeriSign News (2002) listing [text] variables? (1999) [WebDNA] Asking for trouble? (2011) Price override - solved (2004) ShowNext Command (1997) emailer (1997) Banner Sleuth Updater (1999) WebCat2 several catalogs? (1997) OT: Flash developer needed (2007) Bug Report, maybe (1997) WebDNA for Dummies (was: WebDNA portability) (2007) Caching [include] files ... (1997) Firesite cache vs webcat cache (1997) [format xs] freeze (1997) Multi Actions (1999) Fun with Dates - finally resolved but.... (1997)