Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47424
interpreted = N
texte = Joe, here is some thoughts that might help.1.)If all add commands that lead to the shoppincarts.tpl are seeing the same problem on shoppingcarts.tpl then you know the problem is on shoppingcarts.tpl.2.)This code: [showif [numlineitems]=0] Your cart is empty.
Please continue shopping.


[/showif]is said to be on the shoppingcarts.tpl page yet I haven't seen any showpage links to that page. Do you ever see your cart is empty. Please continue shopping on this page?3)The reason you are seeing another lineitem when refreshing is that the add command is reenacting. All vars will be processed again upon a refresh.4)When using forms I like to add a unique URL function... IE your:
can turn into: What this can do is help with caching and proxying issues.5)My guess: try number 4 and see what happens.Rest assured that the item *HAS* been entered in. Its just that you page layout code isn't seeing it... whether it isn't having time to grab the new info or whether there is a caching issue.Donovan------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  2. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  3. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  4. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (charles kline 2003)
  5. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  6. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  7. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  8. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  9. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  10. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  11. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  12. Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
Joe, here is some thoughts that might help.1.)If all add commands that lead to the shoppincarts.tpl are seeing the same problem on shoppingcarts.tpl then you know the problem is on shoppingcarts.tpl.2.)This code: [showif [numlineitems]=0] Your cart is empty.
Please continue shopping.


[/showif]is said to be on the shoppingcarts.tpl page yet I haven't seen any showpage links to that page. Do you ever see your cart is empty. Please continue shopping on this page?3)The reason you are seeing another lineitem when refreshing is that the add command is reenacting. All vars will be processed again upon a refresh.4)When using forms I like to add a unique URL function... IE your: can turn into: [random][random][random] method=post>What this can do is help with caching and proxying issues.5)My guess: try number 4 and see what happens.Rest assured that the item *HAS* been entered in. Its just that you page layout code isn't seeing it... whether it isn't having time to grab the new info or whether there is a caching issue.Donovan------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan

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:

Serving images from databases (1998) Loss in form (1998) Email within tmpl ? (1997) Customer (1998) Time code! (2002) SKU lookup (1997) WebCatalog stalls (1998) WebCatalog and Macromedia Flash (1998) Feedback on new features (2000) Country & Ship-to address & other fields ? (1997) Progress !! WAS: Trouble with formula.db (1997) vs (1997) Snake Bites (1997) Accepting credit cards (1997) Bug Report, maybe (1997) math on date? (1997) Append - form based command (1999) users.db (1999) Calculating multiple shipping... (1997) the dreaded unitShipCost (2003)