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

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47433
interpreted = N
texte = On 2/4/03 3:37 PM, Donovan wrote:> 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. Yes, I can see that. > 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? This is just part of the test protocol I put together. Here are the results, in table form, of what I saw after adding two items to the shopping cart and then removing them with the remove item selection on ShoppingCart.tpl. _______________SHOWS IN SHOPPING CART____________ Action Item1 Item2 SubTotal Showing Test Flag ShowingAdd Item1 item1 NoneAdd Item2 X item1+item2 There is 1 item...Remove1 X X item2 There is 1 item... There is 2 item... Remove1 X -0- There is 1 item... Your cart is empty... Remove1 -0- Your cart is empty... So, in answer to your question, ³your cart is empty² comes up. > 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. Yes, that is born out by the test grid, but why does it seem to be one step out of sync? > 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. Forgive my ignorance, but I have no idea what ra=[random][random][random]. I am unpaid volunteer help with a little knowledge and no training (a dangerous combination) trying to help my organization out. > 5)My guess: > try number 4 and see what happens. I did, but got the same results. =( > 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. Perhaps someone can make sense out of the test grid. I have been wondering if sending the ADD command through a DNA page which doesnıt show but redirects to ShoppingCart.tpl, might put it back in sync. It is sure frustrating trying to take a working store from WC 2 to WC 4 only to find it no longer works.Thanks for the help, Donovan. -Joe On 2/4/03 3:37 PM, Donovan wrote:> 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. Yes, I can see that. > 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? This is just part of the test protocol I put together. Here are the results, in table form, of what I saw after adding two items to the shopping cart and then removing them with the remove item selection on ShoppingCart.tpl. _______________SHOWS IN SHOPPING CART____________ Action Item1 Item2 SubTotal Showing Test Flag ShowingAdd Item1 item1 NoneAdd Item2 X item1+item2 There is 1 item...Remove1 X X item2 There is 1 item... There is 2 item... Remove1 X -0- There is 1 item... Your cart is empty... Remove1 -0- Your cart is empty... So, in answer to your question, ³your cart is empty² comes up. > 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. Yes, that is born out by the test grid, but why does it seem to be one step out of sync? > 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. Forgive my ignorance, but I have no idea what ra=[random][random][random]. I am unpaid volunteer help with a little knowledge and no training (a dangerous combination) trying to help my organization out. > 5)My guess: > try number 4 and see what happens. I did, but got the same results. =( > 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. Perhaps someone can make sense out of the test grid. I have been wondering if sending the ADD command through a DNA page which doesnıt show but redirects to ShoppingCart.tpl, might put it back in sync. It is sure frustrating trying to take a working store from WC 2 to WC 4 only to find it no longer works.Thanks for the help, Donovan. -Joe ------------------------------------------------------------- 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)
On 2/4/03 3:37 PM, Donovan wrote:> 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. Yes, I can see that. > 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? This is just part of the test protocol I put together. Here are the results, in table form, of what I saw after adding two items to the shopping cart and then removing them with the remove item selection on ShoppingCart.tpl. _______________SHOWS IN SHOPPING CART____________ Action Item1 Item2 SubTotal Showing Test Flag ShowingAdd Item1 item1 NoneAdd Item2 X item1+item2 There is 1 item...Remove1 X X item2 There is 1 item... There is 2 item... Remove1 X -0- There is 1 item... Your cart is empty... Remove1 -0- Your cart is empty... So, in answer to your question, ³your cart is empty² comes up. > 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. Yes, that is born out by the test grid, but why does it seem to be one step out of sync? > 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. Forgive my ignorance, but I have no idea what ra=[random][random][random]. I am unpaid volunteer help with a little knowledge and no training (a dangerous combination) trying to help my organization out. > 5)My guess: > try number 4 and see what happens. I did, but got the same results. =( > 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. Perhaps someone can make sense out of the test grid. I have been wondering if sending the ADD command through a DNA page which doesnıt show but redirects to ShoppingCart.tpl, might put it back in sync. It is sure frustrating trying to take a working store from WC 2 to WC 4 only to find it no longer works.Thanks for the help, Donovan. -Joe On 2/4/03 3:37 PM, Donovan wrote:> 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. Yes, I can see that. > 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? This is just part of the test protocol I put together. Here are the results, in table form, of what I saw after adding two items to the shopping cart and then removing them with the remove item selection on ShoppingCart.tpl. _______________SHOWS IN SHOPPING CART____________ Action Item1 Item2 SubTotal Showing Test Flag ShowingAdd Item1 item1 NoneAdd Item2 X item1+item2 There is 1 item...Remove1 X X item2 There is 1 item... There is 2 item... Remove1 X -0- There is 1 item... Your cart is empty... Remove1 -0- Your cart is empty... So, in answer to your question, ³your cart is empty² comes up. > 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. Yes, that is born out by the test grid, but why does it seem to be one step out of sync? > 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. Forgive my ignorance, but I have no idea what ra=[random][random][random]. I am unpaid volunteer help with a little knowledge and no training (a dangerous combination) trying to help my organization out. > 5)My guess: > try number 4 and see what happens. I did, but got the same results. =( > 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. Perhaps someone can make sense out of the test grid. I have been wondering if sending the ADD command through a DNA page which doesnıt show but redirects to ShoppingCart.tpl, might put it back in sync. It is sure frustrating trying to take a working store from WC 2 to WC 4 only to find it no longer works.Thanks for the help, Donovan. -Joe ------------------------------------------------------------- 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/ Joe R. Richardson

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:

File commands and Wild Cards ?? (1998) SiteEdit Pro Update Announcement (1997) Speed Optimization - Mac (1997) [cart] Taxrate - seriously .. (2002) BBEdit and WebCatalog 2.0? (1997) PSC recommends what date format yr 2000??? (1997) Where's Cart Created ? (1997) X etc.... (1999) Associative lookup style? (1997) Is Webcatalog 2.1 NT Ready? (1998) DNS Lookup (2000) [purgeDatabase], [replaceChars] and others ... (1997) WebCat2b15MacPlugin - showing [math] (1997) formula?? (2000) FTP upload TCP Connect (2003) WCf2 and nested tags (1997) Are [CART]'s always > Previous [CART]'s (2000) WebCat2 Append problem (B14Macacgi) (1997) Weird error/limit - something amiss? (1997) snicker, snicker (1997)