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:

WebCat2 beta 11 - new prefs ... (1997) Snake Bites (1997) Multiple Merchant Accounts? (1997) [BULK] [WebDNA] How to code a 301 redirect (2009) Shipcost update problem (1997) Forcing Search w/ URL (1999) WebCat2 several catalogs? (1997) Addlineitems ... grrr (2004) Simple way to create unique SKU (1997) [IPAddress] and AutoProxy (1998) Upgrading old WebCat Database Files (1997) OK, here goes... (1997) TCPConnect / Current Temperature (2004) [WebDNA] No download links for 8.5.1? (2017) Help name our technology! (1997) WebCat2 - Getting to the browser's username/password data (1997) [addlineitems] (1997) Trouble with carts (2000) Searching Multiple DBs (1997) [WebDNA] listfunctions, listscopes, listincluded? (2011)