numero = 107804
interpreted = N
texte = --000e0ce0b2e85a5af704b40fc56fContent-Type: text/plain; charset=ISO-8859-1I've got a simple Shopping cart that I'm trying to get prices to updatebased on the [LineIndex]quantity and my Price Formula.I've checked my Formula and it updates the price correctly if I addQuantity=[a number] manually in the URL when its added to cart, but if Ichange the quantity on ShoppingCart or Invoice.tpl the price remainswhatever the price was when it was first added to cart.Does anyone know a way I can loop though the lineitems and update theprice as the quantity for that lineitem is updated or changed?[SetLineItemcart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/interpret]&textA=[url][lookupdb=db/product.db&lookinfield=sku&value=[url][sku][/url]&returnfield=title][/url][/SetLineItem][lineItems][format 6.2f][price][/format]RemoveItem[/lineItems]Any ideas would be appreciated-- Dave Stengelhttp://www.mobilinksoftware.com209.820.1300dave@mobilinkpro.com--000e0ce0b2e85a5af704b40fc56fContent-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printable
I've got a simple Shopping cart that I'm trying to get prices =to update based on the [LineIndex]quantity and my Price Formula.
=I've checked my Formula and it updates the price correctly if I add Quantity=3D=[a=20number] manually in the URL when its added to cart, but if I change the qua=ntity on ShoppingCart or Invoice.tpl the price remains whatever the price was=20when it was first added to cart.
Does anyone know =A0a way I can loop though the lineite=ms and update the price as the quantity for that lineitem is updated or cha=nged?
--000e0ce0b2e85a5af704b40fc56fContent-Type: text/plain; charset=ISO-8859-1I've got a simple Shopping cart that I'm trying to get prices to updatebased on the [LineIndex]quantity and my Price Formula.I've checked my Formula and it updates the price correctly if I addQuantity=[a number] manually in the URL when its added to cart, but if Ichange the quantity on ShoppingCart or Invoice.tpl the price remainswhatever the price was when it was first added to cart.Does anyone know a way I can loop though the lineitems and update theprice as the quantity for that lineitem is updated or changed?[SetLineItemcart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/interpret]&textA=[url][lookupdb=db/product.db&lookinfield=sku&value=[url][sku][/url]&returnfield=title][/url][/SetLineItem][lineitems][format 6.2f][price][/format][cart]">RemoveItem[/lineItems]Any ideas would be appreciated-- Dave Stengelhttp://www.mobilinksoftware.com209.820.1300dave@mobilinkpro.com--000e0ce0b2e85a5af704b40fc56fContent-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printable
I've got a simple Shopping cart that I'm trying to get prices =to update based on the [LineIndex]quantity and my Price Formula.
=I've checked my Formula and it updates the price correctly if I add Quantity=3D=[a=20number] manually in the URL when its added to cart, but if I change the qua=ntity on ShoppingCart or Invoice.tpl the price remains whatever the price was=20when it was first added to cart.
Does anyone know =A0a way I can loop though the lineite=ms and update the price as the quantity for that lineitem is updated or cha=nged?
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...