Shipping cost out of synch

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17141
interpreted = N
texte = I am having trouble with a shopping cart page showing the shipping cost. It is just like the General Store example, except it shows the total shipping cost for the cart items at the bottom of the page. I am using formulas.db to define shipcost, and this formula works, BUT...If a quantity is changed on the cart page, then the update button is clicked (generating a $showpage), the shipping cost does not reflect the new quantity, unless the update button is clicked again. The subtotal is always shown correctly with the new quantity.I thought that all the cart stuff was calculated before building the page. What am I doing wrong?Regards Thomas WB Associated Messages, from the most recent to the oldest:

    
I am having trouble with a shopping cart page showing the shipping cost. It is just like the General Store example, except it shows the total shipping cost for the cart items at the bottom of the page. I am using formulas.db to define shipcost, and this formula works, BUT...If a quantity is changed on the cart page, then the update button is clicked (generating a $showpage), the shipping cost does not reflect the new quantity, unless the update button is clicked again. The subtotal is always shown correctly with the new quantity.I thought that all the cart stuff was calculated before building the page. What am I doing wrong?Regards Thomas WB Thomas Wedderburn-Bisshop

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:

[url] link (1998) unable to launch acgi in WebCat (1997) Separate SSL Server (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) [WebDNA] WebDNA 6.1 Info (2008) WCS Newbie question (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Encrypting the seed (2001) Shopping Cart ID (1998) Order not created error (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Weird problems with [SHOWIF]s (1997) problems with 2 tags shakur (1997) [protect] weirdness (2000) [WebDNA] TLS 1.2 and [tcpconnect] (2018) send mail problem? (1997) multi-paragraph fields (1997) Requiring that certain fields be completed (1997) emailer w/F2 (1997) [WebDNA] Sandbox question (2009)