Removing items from a cart is wonky...

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18945
interpreted = N
texte = Take a look at: http://www.delphigroup.com/events/empower/empower-registration.htmCheck off all of the items available, and on the next page, try removing an item or two and see if disappears from the cart on the next page. It seems to take two tries for it to refresh on the screen, but if I look behind the scenes the cart file IS being modified after the first REMOVE, but for some reason the client is still seeing double so to speak.I'm using modified versions of the standard webcat store files, but the GUTS that should be handling this aspect look nearly identical. Any clues?The relevant bit (minus fluff) of code is: --- [OrderFile cart=[cart]] [lineItems] [/lineItems]
[TextB]$[price]$[format .2f][math][quantity]*[price][/math][/format]$[unitShipCost]
Subtotal$[subTotal]
[/OrderFile] --- This is really driving me nuts, since for the most part it works just great, and most people aren't going to notice, since we're not getting millions of hits on this page.Anyone got ideas?Dan Keldsen - djk@delphigroup.com Director, I.S. - webmaster@delphigroup.com The Delphi Group - http://www.delphigroup.com/ 100 City Hall Plaza - ph: 617-247-1511 Boston, MA 02108-2106 - fax:617-247-4957 Associated Messages, from the most recent to the oldest:

    
  1. Re:Removing items from a cart is wonky... (christer@ljusaideer.se (Christer Olsson) 1998)
  2. Re: Removing items from a cart is wonky... (PCS Technical Support 1998)
  3. Removing items from a cart is wonky... (Dan Keldsen 1998)
Take a look at: http://www.delphigroup.com/events/empower/empower-registration.htmCheck off all of the items available, and on the next page, try removing an item or two and see if disappears from the cart on the next page. It seems to take two tries for it to refresh on the screen, but if I look behind the scenes the cart file IS being modified after the first REMOVE, but for some reason the client is still seeing double so to speak.I'm using modified versions of the standard webcat store files, but the GUTS that should be handling this aspect look nearly identical. Any clues?The relevant bit (minus fluff) of code is: --- [OrderFile cart=[cart]] [lineitems] [/lineItems]
[TextB]$[price]$[format .2f][math][quantity]*[price][/math][/format]$[unitShipCost][url][sku][/url]&cart=[cart]>
Subtotal$[subTotal]
[/OrderFile] --- This is really driving me nuts, since for the most part it works just great, and most people aren't going to notice, since we're not getting millions of hits on this page.Anyone got ideas?Dan Keldsen - djk@delphigroup.com Director, I.S. - webmaster@delphigroup.com The Delphi Group - http://www.delphigroup.com/ 100 City Hall Plaza - ph: 617-247-1511 Boston, MA 02108-2106 - fax:617-247-4957 Dan Keldsen

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:

Re1000001: Setting up shop (1997) Hosting accounts (2006) Backwards list behavior ... (1997) How do I get data out of an Orderfile... (2001) Change history ... ? (2003) Strange Search Results (2004) Setting up WebCatalog with Retail Pro data (1996) Practice runs ? (1997) getchars broken? (1997) [WebDNA] CICADA Install problems on Linux (2009) b12 cannot limit records returned and more. (1997) authenticating a second user, the sequel (1997) Crazy dates (was: sorting dates) (1999) Serious bug writing to a database ... (2002) OK, here goes... (1997) FAX orders (1996) Web Developer Product Awards (1997) service stop and restart (1997) docs for WebCatalog2 (1997) Database Not Found Problem (2004)