Re: [foundItems] context question --returns some fields but not others--

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30116
interpreted = N
texte = I think I may have answered my own question. I flushed the cache and prices started showing up. (I hadn't flushed cache since I modified field names.) Only prices in my db without $ in front of them show up. What syntax in the code below causes prices with $ to not show up.Thanks everybody. Hope it's as sunny and warm wherever you are as it is here in WV!Anup setty wrote:> I think it is because of your [format] tag, > > [format .2f][price][/format] > > it is giving you only the 2 decimal places, or may be > the PRICE field has no value. Try changing the format to 8.2f or what ever > number you want. > > anup > > ----- Original Message ----- > From: Robert McPeak > To: WebCatalog Talk > Sent: Thursday, April 06, 2000 9:33 AM > Subject: [foundItems] context question --returns some fields but not > others-- > > > Could someone shed some light on why the following code returns data > > from the [title] field, the [SKU] field, but will only return 0.00 in > > the [price] field? > > > > This code came from the TeaRoom. I've just added my particulars. > > > > Thank you thank you! > > > > [foundItems] > > > > [SKU] > > [title] > > [format .2f][price][/format] > > > > HREF=ShoppingCart.tpl?command=add&cart=[cart]&db=fitproducts.db&sku=[url][s > ku][/url]>Add > > to Cart > > > HREF=Detail.tpl?cart=[cart]&sku=[url][sku][/url]>Detail > > > > [/foundItems] > > > > > > ------------------------------------------------------------- > > 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 > > > ------------------------------------------------------------- > 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 ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: [foundItems] context question --returns some fields but not others-- (Robert McPeak 2000)
  2. Re: [foundItems] context question --returns some fields but not others-- (Anup setty 2000)
  3. [foundItems] context question --returns some fields but not others-- (Robert McPeak 2000)
I think I may have answered my own question. I flushed the cache and prices started showing up. (I hadn't flushed cache since I modified field names.) Only prices in my db without $ in front of them show up. What syntax in the code below causes prices with $ to not show up.Thanks everybody. Hope it's as sunny and warm wherever you are as it is here in WV!Anup setty wrote:> I think it is because of your [format] tag, > > [format .2f][price][/format] > > it is giving you only the 2 decimal places, or may be > the PRICE field has no value. Try changing the format to 8.2f or what ever > number you want. > > anup > > ----- Original Message ----- > From: Robert McPeak > To: WebCatalog Talk > Sent: Thursday, April 06, 2000 9:33 AM > Subject: [founditems] context question --returns some fields but not > others-- > > > Could someone shed some light on why the following code returns data > > from the [title] field, the [SKU] field, but will only return 0.00 in > > the [price] field? > > > > This code came from the TeaRoom. I've just added my particulars. > > > > Thank you thank you! > > > > [founditems] > > > > [SKU] > > [title] > > [format .2f][price][/format] > > > > HREF=ShoppingCart.tpl?command=add&cart=[cart]&db=fitproducts.db&sku=[url][s > ku][/url]>Add > > to Cart > > > HREF=Detail.tpl?cart=[cart]&sku=[url][sku][/url]>Detail > > > > [/foundItems] > > > > > > ------------------------------------------------------------- > > 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 > > > ------------------------------------------------------------- > 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 ------------------------------------------------------------- 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 Robert McPeak

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:

[REPLACE] inside [FOUNDITEMS] (1998) [/application] error? (1997) Changes to the List (1997) Shopping Cart Questions (1998) WebDNA 4.5 upgrade? (2002) Odd request (2003) PCS Frames-Default page is solution! (1997) Netscape (1997) attn: smitmicro - cart limitation (2002) Shopping Cart ID (1998) Re:Upload (1998) random in arizona (2003) [OrderFile] error (1999) Error.html (1997) Submitting ampersands in forms... (1998) WCS Newbie question (1997) Pirated WebCat? NOT... (2003) WebDNA tags in WebMerchant email templates ... (1997) printing twice? and fix (1997) one item in several different categories? (2000)