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 bylooking 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):[AddLineItemcart=[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 cartL 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]> > >> > >> > >> > >> > >> > >> > >