Re: setlineitem - price

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54539
interpreted = N
texte = ok... i got it --- it was [lineindex] not index.... it be nice to say so somewhere... On Sat, 29 Nov 2003, Kalin Mintchev wrote: > > > i tried this one to without success: > > [SetLineItem > cart=[cart]&index=[index]&db=bang.db]price=[math][price]-([price]*[disc])[/math]&password=mypassword[/SetLineItem] > > thanks.... > > On Sat, 29 Nov 2003, Kalin Mintchev wrote: > > > > > > hi all... > > > > i've done this before but right now i can't figure it out. can somebody > > explain what is wrong with this code? > > > > [orderfile cart=[cart]] > > [lineitems] > > [showif [disc_skus]^[sku]] > > [SetLineItem > > cart=[cart]&index=[index]&db=bang.db&password=mypasswrd]price=[math][price]-([price]*[disc])[/math][/SetLineItem] > > [/showif] > > [price]
> > [/lineitems] > > [/orderfile] > > > > the problem is the price doesn't change... > > > > i'm sure it's in the archives somewhere because i've seen it there but if > > only could get to them..... > > > > thanks.... > > > > > > > ------------------------------------------------------------- > 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://webdna.smithmicro.com/ > ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: setlineitem - price ( Kalin Mintchev 2003)
  2. Re: setlineitem - price ( Kalin Mintchev 2003)
  3. setlineitem - price ( Kalin Mintchev 2003)
ok... i got it --- it was [lineindex] not index.... it be nice to say so somewhere... On Sat, 29 Nov 2003, Kalin Mintchev wrote: > > > i tried this one to without success: > > [SetLineItem > cart=[cart]&index=[index]&db=bang.db]price=[math][price]-([price]*[disc])[/math]&password=mypassword[/SetLineItem] > > thanks.... > > On Sat, 29 Nov 2003, Kalin Mintchev wrote: > > > > > > hi all... > > > > i've done this before but right now i can't figure it out. can somebody > > explain what is wrong with this code? > > > > [orderfile cart=[cart]] > > [lineitems] > > [showif [disc_skus]^[sku]] > > [SetLineItem > > cart=[cart]&index=[index]&db=bang.db&password=mypasswrd]price=[math][price]-([price]*[disc])[/math][/SetLineItem] > > [/showif] > > [price]
> > [/lineitems] > > [/orderfile] > > > > the problem is the price doesn't change... > > > > i'm sure it's in the archives somewhere because i've seen it there but if > > only could get to them..... > > > > thanks.... > > > > > > > ------------------------------------------------------------- > 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://webdna.smithmicro.com/ > ------------------------------------------------------------- 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://webdna.smithmicro.com/ Kalin Mintchev

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:

PCS Customer submissions ? (1997) WebCat2.0b15-to many nested [xx] tags (1997) Suggestions (1998) NetCloak as Emailer substitute? (1999) RE: [WebDNA] unix timestamp in WebDNA (2009) The IBC root beer has arrived! (1997) RE: [WebDNA] Yet another call for hosts... NJ WebDNA Host (2009) WC2b15 File Corruption (1997) Bug or syntax error on my part? (1997) HELP! Only 1/2 of pricing.db loading!?! (1999) retain raw [cart] submitted value (2004) Possible to reset Linux file permissions w/in webcat [shell] ? (2000) Problems with [Applescript] (1997) WebDNA Quick Reference (Reserved Words) (2000) Comments in db? (1997) Emailer setup (1997) OT: Thawte SSL on Mac OS X Server (2005) [isfolder] and [filename] (1997) WebCat2: Items xx to xx shown, etc. (1997) Date problems (1997)