numero = 26898
interpreted = N
texte = I'm getting confused about when to use [quantity] and its relationship to quantity[lineindex].On a product page I add an item with [quantity]=1. From here, I take the user to a shopping cart page that displays the contents of the cart. Following the tutorial, the quantity is supposedly displayed by:[lineitems][/lineitems]However, this seems to display the [lineindex] as the quantity (i.e., the 2nd item you add has quantity=2, the 3rd quantity=3). I do let people update quantities on this page, and, using this same form item, the quantities update properly (i.e., I can set the quantity for item 2 to, say, 4, click Update and it will display properly on this same page). However, as soon as you add a new item, the quanitities all get reset to their lineindex values.Can someone explain what's going on here?Gratefully,Kevin Lippert-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Associated Messages, from the most recent to the oldest:
I'm getting confused about when to use [quantity] and its relationship to quantity[lineindex].On a product page I add an item with [quantity]=1. From here, I take the user to a shopping cart page that displays the contents of the cart. Following the tutorial, the quantity is supposedly displayed by:[lineitems][/lineitems]However, this seems to display the [lineindex] as the quantity (i.e., the 2nd item you add has quantity=2, the 3rd quantity=3). I do let people update quantities on this page, and, using this same form item, the quantities update properly (i.e., I can set the quantity for item 2 to, say, 4, click Update and it will display properly on this same page). However, as soon as you add a new item, the quanitities all get reset to their lineindex values.Can someone explain what's going on here?Gratefully,Kevin Lippert-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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 Kevin Lippert
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...