setting the price of goods after its added to the cart

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33679
interpreted = N
texte = Hi,I'm trying to change the price of items already in the cart using the setlineitem context. I want the price to be recalculated from formulas.db when the form is reloaded. The page shows the price of each lineitem within a showcart command.. and i want this to show the new price when the submit button is pressed but the problem is that it still shows the old price. Inside my showcart command and within the lineitems tag i have [setlineitem cart=[cart]&index=[lineindex]]price=[price][/setlineitem].. I'll be very grateful for any help thanks in advance chamindu------------------------- Chamindu Haththotuwegama Woomera Net Solutions Sydney, Australia -------------------------------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: setting the price of goods after its added to the cart (Chamindu 2000)
  2. Re: setting the price of goods after its added to the cart (Jason Tyler 2000)
  3. setting the price of goods after its added to the cart (Chamindu 2000)
Hi,I'm trying to change the price of items already in the cart using the setlineitem context. I want the price to be recalculated from formulas.db when the form is reloaded. The page shows the price of each lineitem within a showcart command.. and i want this to show the new price when the submit button is pressed but the problem is that it still shows the old price. Inside my showcart command and within the lineitems tag i have [setlineitem cart=[cart]&index=[lineindex]]price=[price][/setlineitem].. I'll be very grateful for any help thanks in advance chamindu------------------------- Chamindu Haththotuwegama Woomera Net Solutions Sydney, Australia -------------------------------------------------------------------------------------- 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://search.smithmicro.com/ Chamindu

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:

Getting Total Quantity (1997) MySQL Wildcard Trouble (2006) WebDNA dying or ... ? (2005) not interpreting Q (2001) Shopping problems with 2.1b3 acgi (1997) Reversed words (1997) Need help with emailer- 2 issues (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Scoping rules in WebDNA 4.0 (2000) 2nd WebCatalog2 Feature Request (1996) RE: redirect with more than 256 characters (1999) [HTML*] (a proposition) (1997) database paths/names, and a typo (1997) multiple databases (1997) Shell script within a sandbox (2005) emailer (1997) All choices on IE different than Netscape (1997) Problem (1997) WebCommerce: Folder organization ? (1997) TCP Connect (2000)