Re: [format] problem
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38463
interpreted = N
texte = thanks to everybody that replyed..appreciated....On Thu, 6 Sep 2001, Brian Fries wrote:> Kalin -> > This sounds very much like a variable name conflict - similar to how > the [date] tag doesn't work within an [orderfile] context because the > order file defines a variable named [date]. Perhaps there is somehow > a variable being created named format.> > Try putting just the tag [format] or [url][format][/url] inside > your lineitems to see what WebCat spits out. Do the same thing > outside of the [lineitems].> > Definitely something is preventing WebCat from recognizing [format] > as the beginning of a context, therefore it thinks [/format] is out > of place.> > - Brian> > At 2:35 AM 9/6/2001, Kalin Mintchev wrote:> >this is what i get:> >> >sku=18020X> >quantity=1> >price=50.00> >discnt=> >texte=OLIVIER CHRISTINAT> >end of test.> >> >> >note -> price is not formated, that's how it's entered in the db. the db > >is maintained remotely from the customer. that should not affect the> >[format] anyway...> >> >the [format] tag works fine on the same page but out of the> >[lineitems] context.... i assume that the info from the shoppingcart file> >is messing it up but so far i can not find any problems there....> >> >sorry about the late reply. i was moved to another more urgent project> >for a day...> >> >thanks> >> >> >> >On Wed, 5 Sep 2001, Kenneth Grome wrote:> >> >> >ok i checked my code dosens of times then i did a test shopcart with only> >> >this in it:> >> >> >> >> >> >[lineItems]> >> >> >> >[sku]> >> >
> >> >$[format .2f][math][quantity]*[price][/math][/format]> >> >
> >> >[showif [discnt]>0]$[format .2f][texte][/format][/showif]> >> >[showif [discnt]=]no disc.[/showif]> >> >
> >> >> >> >[/lineItems]> >>> >>> >>> >> Put this in a new *blank* .tpl file, then run your test again, then> >> post your results:> >>> >> [lineItems]> >> sku=[sku]
> >> quantity=[quantity]
> >> price=[price]
> >> discnt=[discnt]
> >> texte=[texte]
> >> end of test.> >> [/lineItems]> > >> >> ----------------------------------------------------> >> Kenneth Grome & Associates> >> web: http://kengrome.com> >> email: owner@kengrome.com> >> mobile: +63 917 254-1494> >> office: +63 32 262-8164> > > ----------------------------------------------------> -------------------------------------------------------------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:
thanks to everybody that replyed..appreciated....On Thu, 6 Sep 2001, Brian Fries wrote:> Kalin -> > This sounds very much like a variable name conflict - similar to how > the [date] tag doesn't work within an [orderfile] context because the > order file defines a variable named [date]. Perhaps there is somehow > a variable being created named format.> > Try putting just the tag [format] or [url][format][/url] inside > your lineitems to see what WebCat spits out. Do the same thing > outside of the [lineitems].> > Definitely something is preventing WebCat from recognizing [format] > as the beginning of a context, therefore it thinks [/format] is out > of place.> > - Brian> > At 2:35 AM 9/6/2001, Kalin Mintchev wrote:> >this is what i get:> >> >sku=18020X> >quantity=1> >price=50.00> >discnt=> >texte=OLIVIER CHRISTINAT> >end of test.> >> >> >note -> price is not formated, that's how it's entered in the db. the db > >is maintained remotely from the customer. that should not affect the> >[format] anyway...> >> >the [format] tag works fine on the same page but out of the> >[lineitems] context.... i assume that the info from the shoppingcart file> >is messing it up but so far i can not find any problems there....> >> >sorry about the late reply. i was moved to another more urgent project> >for a day...> >> >thanks> >> >> >> >On Wed, 5 Sep 2001, Kenneth Grome wrote:> >> >> >ok i checked my code dosens of times then i did a test shopcart with only> >> >this in it:> >> >> >> >> >> >[lineitems]> >> >> >> >[sku]> >> >
> >> >$[format .2f][math][quantity]*[price][/math][/format]> >> >
> >> >[showif [discnt]>0]$[format .2f][texte][/format][/showif]> >> >[showif [discnt]=]no disc.[/showif]> >> >
> >> >> >> >[/lineItems]> >>> >>> >>> >> Put this in a new *blank* .tpl file, then run your test again, then> >> post your results:> >>> >> [lineitems]> >> sku=[sku]
> >> quantity=[quantity]
> >> price=[price]
> >> discnt=[discnt]
> >> texte=[texte]
> >> end of test.> >> [/lineItems]> > >> >> ----------------------------------------------------> >> Kenneth Grome & Associates> >> web: http://kengrome.com> >> email: owner@kengrome.com> >> mobile: +63 917 254-1494> >> office: +63 32 262-8164> > > ----------------------------------------------------> -------------------------------------------------------------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:
Extended [ConvertChars] (1997)
Setting up WebCatalog with Retail Pro data (1996)
Odd (2001)
Re:WebCatalog/WebMerchant III (1998)
webCatalog and Stocks (1998)
reversing the effects of [url] (1997)
WebCat & Liststar (1997)
using webdna to determine pixel parameters (2000)
setting line item numbers (1998)
Encrypting the seed (2001)
SMSI: WebDNA Versions? (2002)
SASL Support in WebDNA (2004)
Changes to the List (1997)
Bugs in IE 6.0 ? (2003)
Add message to Order (1997)
Processing all html files through WebCat or Typhoon (1998)
PROBLEM (1997)
Trying to loop for letters (1999)
Free shipping (2000)
WCS Newbie question (1997)