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:

Reports of ErrorLog.txt not being written in Linux (2000) WebCat2 - Getting to the browser's username/password data (1997) Db design question (relational vs. flat?) (1998) Setting up WebCatalog with Retail Pro data (1996) setlineitem quantity to zero? (2000) Re:Searchable Archives (1998) Date search bug (1997) searchable list archive (1997) Problems getting parameters passed into email. (1997) website pro trouble (1998) [WebDNA] New Webdna framework ! ... (addresses some initial concerns... (2012) Re:no template caching (1997) CommandSecurity? (1997) email code (1998) Creditcard verification with WebCat (1998) Security Issue (2000) SKU lookup (1997) sort problems....bug or brain fart? (1997) Checkboxes (1997) [newcart] (1998)