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:
Error Lob.db records error message not name (1997)
Writing multiple data into one field (1998)
unitshipcost vs shipcosts (1997)
WC1.6 to WC2 date formatting (1997)
Locking up with WebCatalog... (1997)
SV: Strange sort in search... (2000)
Will webdna execute before a [redirect]? (1999)
unsubscribe, try 2 (2000)
PCS Frames (1997)
Need some assistance. (1999)
Re:WebCatalog/WebMerchant III (1998)
Hyperlink in email (2002)
Re:listfiles-looking for slick solution (1997)
Avery 5160 Mailing Labels (2003)
Multi-processor Mac info ... (1997)
2nd WebCatalog2 Feature Request (1996)
Undocumented changes create problems in webcat 4 ... (2000)
Error: Can't open order file. (2005)
WebDNA Fusebox was (European Convention) (2004)
RE: Multiple Stores and WebCatalog Prefs (1997)