cart info

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16191
interpreted = N
texte = I am trying to show cart information on the same page the customer shops from. Without using frames. This page is results.tpl it is detailed info on some products in the vendors database. Since the vendor doesn't want to display the shopping cart page unless specifically requested by the customer. We reference back to the same page ie results.tpl. Problem is it doesn't display what is truly in the cart. When the customer clicks the buy it button, it is added to the cart the page is reloaded and the updated cart information is not displayed. If we click the view cart button then we can see the new info. What is wrong with my logic here? Can I do a lookup in a cart file? I am running NT v2.1b7 [showif [extra]=T][/showif] [hideif [extra]=T][/hideif]
[title]

You have[orderfile shoppingcarts/[cart]] [lineitems] [/lineitems] [showif [math]totalQuantity[/math]=0]no[/showif][hideif [math]totalQuantity[/math]=0][math]totalQuantity[/math][/hideif] [/orderfile] product[hideif [math]totalQuantity[/math]=1]s[/hideif] in your shopping cart! [search db=whittle.db&skusort=1&eqcategorydata=[url][category][/url]] [founditems] [/founditems] [/search]Robert Minor ______________________________________ Cybermill Communications 8616 Joseph Ave. St. Louis, MO 63144 (314) 962-4024webmaster@cybermill.com http://www.cybermill.com ______________________________________ Always looking for the easy way! Associated Messages, from the most recent to the oldest:

Check to buyRail RoadColor Price
[SHOWIF [STOCK]=YES][/SHOWIF][HIDEIF [STOCK]=YES][/HIDEIF][title][contents][description] $[price]
    
  1. Re: Missing Cart Information ( WJ Starck 2003)
  2. Re: Missing Cart Information ( "Scott Anderson" 2003)
  3. Re: Missing Cart Information ( Paul Willis 2003)
  4. Re: Missing Cart Information ( Paul Willis 2003)
  5. Re: Missing Cart Information ( "Scott Anderson" 2003)
  6. Re: Missing Cart Information ( Jesse Proudman 2003)
  7. Re: Missing Cart Information ( Paul Willis 2003)
  8. Re: Missing Cart Information ( Jesse Proudman 2003)
  9. Re: Missing Cart Information ( Paul Willis 2003)
  10. Re: Missing Cart Information ( Donovan 2003)
  11. Re: Missing Cart Information ( Scott Anderson 2003)
  12. Re: Missing Cart Information ( Jesse Williams-Proudman 2003)
  13. Re: Missing Cart Information ( Scott Anderson 2003)
  14. Re: Missing Cart Information ( Donovan 2003)
  15. Re: Missing Cart Information ( Donovan 2003)
  16. Re: Missing Cart Information ( Jesse Williams-Proudman 2003)
  17. Re: Missing Cart Information ( John Peacock 2003)
  18. Re: Missing Cart Information ( Jesse Williams-Proudman 2003)
  19. Re: Missing Cart Information ( John Peacock 2003)
  20. Re: Missing Cart Information ( Stuart Tremain 2003)
  21. Re: Missing Cart Information ( Jesse Williams-Proudman 2003)
  22. Re: Missing Cart Information ( WJ Starck 2003)
  23. Re: Missing Cart Information ( Jesse Williams-Proudman 2003)
  24. Re: Missing Cart Information ( WJ Starck 2003)
  25. Re: Missing Cart Information ( Jesse Williams-Proudman 2003)
  26. Re: Missing Cart Information ( WJ Starck 2003)
  27. Missing Cart Information ( Jesse Williams-Proudman 2003)
  28. Re: cart info (bob 1998)
  29. Re: cart info (Christer Olsson 1998)
  30. Re: cart info (bob 1998)
  31. Re: cart info (Kenneth Grome 1998)
  32. Re: cart info (Christer Olsson 1998)
  33. Re: cart info (bob 1998)
  34. Re: cart info (Kenneth Grome 1998)
  35. Re: cart info (Peter Ostry 1998)
  36. cart info (bob 1998)
  37. Re: Not seeing cart info on Invoice.tmpl (was PROBLEM) (natasha 1997)
  38. Not seeing cart info on Invoice.tmpl (was PROBLEM) (Grant Hulbert 1997)
I am trying to show cart information on the same page the customer shops from. Without using frames. This page is results.tpl it is detailed info on some products in the vendors database. Since the vendor doesn't want to display the shopping cart page unless specifically requested by the customer. We reference back to the same page ie results.tpl. Problem is it doesn't display what is truly in the cart. When the customer clicks the buy it button, it is added to the cart the page is reloaded and the updated cart information is not displayed. If we click the view cart button then we can see the new info. What is wrong with my logic here? Can I do a lookup in a cart file? I am running NT v2.1b7 [showif [extra]=T][url][category][/url]/[url][title][/url].jpg border=3 width=204 height=137>[/showif] [hideif [extra]=T][/hideif]
[title]

You have[orderfile shoppingcarts/[cart]] [lineitems] [/lineitems] [showif [math]totalQuantity[/math]=0]no[/showif][hideif [math]totalQuantity[/math]=0][math]totalQuantity[/math][/hideif] [/orderfile] product[hideif [math]totalQuantity[/math]=1]s[/hideif] in your shopping cart! [search db=whittle.db&skusort=1&eqcategorydata=[url][category][/url]] [founditems] [/founditems] [/search]Robert Minor ______________________________________ Cybermill Communications 8616 Joseph Ave. St. Louis, MO 63144 (314) 962-4024webmaster@cybermill.com http://www.cybermill.com ______________________________________ Always looking for the easy way! bob

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:

ShowIF Question (2000)math a various prices (1997)My slower response (1997)Problems getting parameters passed into email. (1997)date formatting for CC card expiration date check (1998)Add to Cart & List of Products (1997)Using the sendmail command on CGate Pro (Unix) (2000)[append] problem (1997)Referrer field to header field conversion (1997)Almost a there but..bye bye NetCloak (1997)Quit revisited (1997)Possible Bug in 2.0b15.acgi (1997)shipcost (1997)F2 to F3 rocky transition (1997)WebCat2.0b15-to many nested [xx] tags (1997)Possible Hijacking from Globix (2002)unable to launch acgi in WebCat (1997)oops private message leaked into talk list (1997)Robert Minor duplicate mail (1997)[WebDNA] Listfields in an input environment (2018)
Check to buyRail RoadColor Price
[SHOWIF [STOCK]=YES][url][sku][/url]&cart=[cart ]&category=[url][category][/url]&title=[url][title][/url]&extra=[extra]>[/SHOWIF][HIDEIF [STOCK]=YES][/HIDEIF][cart]&eqskudatarq=[sku] onMouseOver=window.status='View the [title] [category] on this page';return true;>[title][contents][description] $[price]