Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl
This WebDNA talk-list message is from
2003
It keeps the original formatting.
numero = 47412
interpreted = N
texte = On 2/4/03 12:53 PM, Donovan wrote:> This is probably the order in which the code is being executed but I> guess it could be caching.> > I don't work with commands (less secure). It is probably better to work> with contexts. but since you are using commands you might want to also> post where the add or addlineitems code is along with the display> code below.> Thanks for responding, Donovan. Here is the code from detail.tpl.On other pages I just use:Add to Cart.-Joe============== START ADD CODE FROM Detail.tpl ==============
> ============== END ADD CODE FROM Detail.tpl ==============> > Joe R. Richardson wrote:> >> I'm having a problem listing LineItems on my shopping cart. It functions as>> if it's one iteration out of sync with the shopping cart. If I put something>> in the cart the lineitem doesn't show, but the subtotal does. If I then>> refresh the page, the lineitem shows up as #1, but the subtotal reflects two>> items (twice as much). Then, if you remove that item, both lineitems show,>> but the subTotal goes back.>> >> I placed some test code on the page and they confirm something funny is>> going on. Can anyone tell me what I've done wrong??>> >> Thanks,>> Joe>> >> Site location:>> ========= START CODE FROM ShoppingCart.tpl ===============>> >>