Re: [format] problem

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38375
interpreted = N
texte = here is something else:from the manual for [AddLineItem]: .... the end of the LineItems in the shopping cart. The item's price, taxable, canEmail, and unitShipCost information is found by looking for the values of those fields in the product database. ...here is my code (i'm checking this with an item with price 10.00):[AddLineItem cart=[cart]&sku=[sku]&db=/db/prod.db&index=[lineindex]]textA=[moo]&quantity=[foo][/AddLineItem]here is the line of the shopping cart file coresponding to that cart L FT254 3 1010 F F 0 etc... 1010 ?!?!??!? what?! what's this? why?anybody? On Wed, 5 Sep 2001, Kalin Mintchev wrote:> > yea we rebooted the WC 4 days ago because it was sending email twice. thet > fixed that. we have other sites with the same shipping cart code structure > that work with no problems. it's only this one that is giving me the > errors. if i take the [format] tags out it works fine -> prices show up > and evrything's fine except the formating ofcource... > > > > > On Tue, 4 Sep 2001, Brian Fries wrote: > > > I see nothing wrong with your code, and it works fine on my server... > > > > I would try starting from the bare minimum... > > > > [format .2f]100.000[/format] > > > > to see if that works, then add the surrounding contexts one at a time > > until I found where it breaks. > > > > Have you tried rebooting the server to see if that clears up some > > funky state that WebCat may be in? > > > > - brian > > > > At 8:25 PM 9/4/2001, Kalin Mintchev wrote: > > >this is the whole code nothing showed up in the bbedit when i tried show > > >invisibles but brakes (\r) > > > > > > > > > > > > > > > > > >FOTOFOLIO WHOLESALE > > > > > > > > > > > > > > > > > > [lineItems] > > > > > >[sku] > > >
> > >$[format .2f][math][quantity]*[price][/math][/format] > > > > > > > > >
[showif [discnt]>0]$[format .2f][texte][/format][/showif] > > >[showif [discnt]=]no disc.[/showif]
> > > > > >[/lineItems] > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------- > > 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/ > > > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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:

    
here is something else:from the manual for [addlineitem]: .... the end of the LineItems in the shopping cart. The item's price, taxable, canEmail, and unitShipCost information is found by looking for the values of those fields in the product database. ...here is my code (i'm checking this with an item with price 10.00):[AddLineItem cart=[cart]&sku=[sku]&db=/db/prod.db&index=[lineindex]]textA=[moo]&quantity=[foo][/AddLineItem]here is the line of the shopping cart file coresponding to that cart L FT254 3 1010 F F 0 etc... 1010 ?!?!??!? what?! what's this? why?anybody? On Wed, 5 Sep 2001, Kalin Mintchev wrote:> > yea we rebooted the WC 4 days ago because it was sending email twice. thet > fixed that. we have other sites with the same shipping cart code structure > that work with no problems. it's only this one that is giving me the > errors. if i take the [format] tags out it works fine -> prices show up > and evrything's fine except the formating ofcource... > > > > > On Tue, 4 Sep 2001, Brian Fries wrote: > > > I see nothing wrong with your code, and it works fine on my server... > > > > I would try starting from the bare minimum... > > > > [format .2f]100.000[/format] > > > > to see if that works, then add the surrounding contexts one at a time > > until I found where it breaks. > > > > Have you tried rebooting the server to see if that clears up some > > funky state that WebCat may be in? > > > > - brian > > > > At 8:25 PM 9/4/2001, Kalin Mintchev wrote: > > >this is the whole code nothing showed up in the bbedit when i tried show > > >invisibles but brakes (\r) > > > > > > > > > > > > > > > > > >FOTOFOLIO WHOLESALE > > > > > > > > > > > > > > > > > > [lineitems] > > > > > >[sku] > > >
> > >$[format .2f][math][quantity]*[price][/math][/format] > > > > > > > > >
[showif [discnt]>0]$[format .2f][texte][/format][/showif] > > >[showif [discnt]=]no disc.[/showif]
> > > > > >[/lineItems] > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------- > > 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/ > > > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ 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:

multiple db's (2003) [WebDNA] [sendmail] sending two emails (2012) Whats going on with my SERIAL NUMBER??? (1998) problems with 2 tags (1997) Secure server question (1997) Appending data from an IFrame (2002) Encrypt (1999) Webcat interfering with Webstar? (1998) How to combine two or more audio format files listed in a WebCat (1999) NT vs Mac (1997) WebCat2 several catalogs? (1997) 2nd try:Webcat interfering with Webstar? (1998) Pre-flight public flag (1997) Bug Report, maybe (1997) Off Topic: Help Wanted (1997) A quickie question (1997) WebCat2 - many [carts] on one template page? (1997) Problems appending to database (1997) protect tag on NT IIS (1997) sort problems....bug or brain fart? (1997)