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:

IF/THEN, SHOWIF, and/or HIDEIF (2007) apache - nobody??!??1 (2001) Sendmail and textarea (1998) WebCat2 beta 11 - new prefs ... (1997) Problem with Formulas.db (1999) PCS Frames-Default page is solution! (1997) WebCat .pdf file is formatted incorrectly... (2000) WebCat2: Items xx to xx shown, etc. (1997) [WebDNA] how to clear the [username] and [password] values the browser has stored? (2008) Sorting a Search... (1998) Calculating multiple shipping... (1997) flushdatabases (1997) [OT] HTML EMAIL program wanted (1999) Reminder for beta testers (2000) WebCatalog can't find database (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) [WebDNA] Best WebDNA version for OS X Server 10.5.8 on PowerPC? (2010) Today's silly question is... (2007) Show all from database (2001) WebCatalog can't find database (1997)