Forcing price recalculation in shopping cart

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20177
interpreted = N
texte = Hi Web-Catters,My price calculation in Formulas.db is based on quantity ordered (we have various quantity discounts on many products).Problem: When the user changes the quantity on the page I've designed for that (discounts.html), and shoppingcart.html comes up to process the change and reflect the new quantities, *it doesn't recalculate the pricing*.How can I make it do that?I'll include the code I'm using to process the quantity change, in case it helps:From shoppingcart.html (which is called with default showpage command):[orderfile cart=[cart]] ... [showif [action]=updatequantities] [lineitems][setlineitem cart=[cart]&db=upline.db&index=[lineindex]]quantity=[interpret][quantity[lineind ex]][/interpret]&price=[price][/setlineitem][/lineitems] [/showif] ... [/orderfile] Thanks in advance! Luke upline___________________________________________________________________________ Upline Subscribers succeed faster. Find out why: Send e-mail to why@upline.com for an instant FREE report! ___________________________________________________________________________ For software for Network Marketers, check out http://www.kaizensoft.com Upline is Online: http://www.upline.com ___________________________________________________________________________ ============================ Luke Melia || In between stimulus || || and response, || Snail Mail: || there is a small || 106 South St. Suite 209 || space... || Charlottesville, VA 22902 ======= Victor Frankl ======= (804) 979-4427 x136 Associated Messages, from the most recent to the oldest:

    
  1. Re: Forcing price recalculation in shopping cart (Luke Melia 1998)
  2. Re: Forcing price recalculation in shopping cart (Luke Melia 1998)
  3. Re: Forcing price recalculation in shopping cart (Luke Melia 1998)
  4. Re: Forcing price recalculation in shopping cart (PCS Technical Support 1998)
  5. Forcing price recalculation in shopping cart (Luke Melia 1998)
Hi Web-Catters,My price calculation in formulas.db is based on quantity ordered (we have various quantity discounts on many products).Problem: When the user changes the quantity on the page I've designed for that (discounts.html), and shoppingcart.html comes up to process the change and reflect the new quantities, *it doesn't recalculate the pricing*.How can I make it do that?I'll include the code I'm using to process the quantity change, in case it helps:From shoppingcart.html (which is called with default showpage command):[orderfile cart=[cart]] ... [showif [action]=updatequantities] [lineitems][setlineitem cart=[cart]&db=upline.db&index=[lineindex]]quantity=[interpret][quantity[lineind ex]][/interpret]&price=[price][/setlineitem][/lineitems] [/showif] ... [/orderfile] Thanks in advance! Luke upline___________________________________________________________________________ Upline Subscribers succeed faster. Find out why: Send e-mail to why@upline.com for an instant FREE report! ___________________________________________________________________________ For software for Network Marketers, check out http://www.kaizensoft.com Upline is Online: http://www.upline.com ___________________________________________________________________________ ============================ Luke Melia || In between stimulus || || and response, || Snail Mail: || there is a small || 106 South St. Suite 209 || space... || Charlottesville, VA 22902 ======= Victor Frankl ======= (804) 979-4427 x136 Luke Melia

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:

Search over 500 (2000) RE: Web*SSL and WebCatalog (1997) MS Commerce Comparison (long) (1998) Limitations on fields? Server is crashing (1997) [encrypt] entire site? (2003) Multiple prices (1997) I want a 404 (2005) Is setting a basic lineitem in the cart really magic? (2000) Showif, Hideif reverse logic ? (1997) Mac v. NT (1998) WebCommerce: Folder organization ? (1997) & in Lookups (1997) RE: Languages (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] mac osx permissions problem (2010) WebCatalog can't find database (1997) Images (2003) WebCat 2.1beta etc (1997) Just Testing (1997) Searching multiple Databases (1997)