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:

Credit Card Checking?? (1998) Trouble with [Math] (1998) Emailer (1997) RSS parser in WebDNA? (2006) Safe command=append (1999) Spiders (1998) SiteEdit Pro Update Announcement (1997) Great product and great job ! (1997) document contains no data (1999) Carriage Returns on mail receipt (2002) [protect admin] (1997) There's a bug in the math context ... (1997) select multiple (1997) Database Path (1998) For those of you not on the WebCatalog Beta... (1997) Help! WebCat2 bug (1997) details (2003) Bug Report, maybe (1997) trouble updating records in database (1998) Smart caching problems with 2.1b3? (1997)