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 theresults, in table form, of what I saw after adding two items to the shoppingcart and then removing them with the remove item selection onShoppingCart.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 onestep out of sync? > 4)When using forms I like to add a unique URL function... IE> your:>