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:

EMailer - WebSTAR V - OSX - WebDNA (2003) OFF-TOPIC: Check www.godaddy.com for me ... (2003) WebCat2 several catalogs? (1997) removing programming logic white space (2003) Multiple prices (1997) Using Applescript to process WebCatalog functions (1998) WebCat editing, SiteGuard & SiteEdit (1997) GuestBook example (1997) Append File help needed amended (2000) absolute paths for databases? (1997) New Web Site Developers Database (1996) Webcatalog, Webstar and Crasharama (1999) japanese characters (1997) mailto: tag (2001) DDEConnect not working (2006) webmerchant problems... More Problems (2000) Search Engine questions ... (2002) Hyperboard/bulletin board available (1998) PSC recommends what date format yr 2000??? (1997) [WebDNA] Talklist Archive & Twitter (2009)