Re: [SEARCH] Context for SKU prices not working...

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17630
interpreted = N
texte = >But just beneath, I'm not getting output from this [SEARCH] context for >the SKUs associated with a specific Item -- nothing under View Source >etc. (unless I insert a specific item number for [Item]): > > > [SEARCH db=details.txt&eqItemdatarq=[Item]] > [foundItems] > [SKU]  > [showif [SkuName]>0][SkuName][/showif]  > [ProdSizes]>0][ProdSizes][/showif]  > [showif [Colors]>0][Colors][/showif]  > Price: [Price]   > [/FoundItems] > [/SEARCH] You need a beginning [showif] tag for every ending [/showif] tag, and there is no beginning [showif] tag on line 5 of the example above. Try this instead:[SEARCH db=details.txt&eqItemdatarq=[Item]] [foundItems] [SKU]  [showif [SkuName]>0][SkuName][/showif]  [showif [ProdSizes]>0][ProdSizes][/showif]  [showif [Colors]>0][Colors][/showif]  Price: [Price]   [/FoundItems] [/SEARCH]Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: [SEARCH] Context for SKU prices not working... (Michael Winston 1998)
  2. Re: [SEARCH] Context for SKU prices not working... (Kenneth Grome 1998)
  3. Re: [SEARCH] Context for SKU prices not working... (Michael Winston 1998)
  4. [SEARCH] Context for SKU prices not working... (Dale Stokdyk 1998)
>But just beneath, I'm not getting output from this [search] context for >the SKUs associated with a specific Item -- nothing under View Source >etc. (unless I insert a specific item number for [Item]): > > > [SEARCH db=details.txt&eqItemdatarq=[Item]] > [founditems] > [SKU]  > [showif [SkuName]>0][SkuName][/showif]  > [ProdSizes]>0][ProdSizes][/showif]  > [showif [Colors]>0][Colors][/showif]  > Price: [Price]   > [/FoundItems] > [/SEARCH] You need a beginning [showif] tag for every ending [/showif] tag, and there is no beginning [showif] tag on line 5 of the example above. Try this instead:[SEARCH db=details.txt&eqItemdatarq=[Item]] [founditems] [SKU]  [showif [SkuName]>0][SkuName][/showif]  [showif [ProdSizes]>0][ProdSizes][/showif]  [showif [Colors]>0][Colors][/showif]  Price: [Price]   [/FoundItems] [/SEARCH]Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

Webcat and other cgi (2000) Creating PDF (2004) ShipTotal Again (1998) Banners (1997) URGENT: WebCatalog 2.0 (1998) Vann's - nice new WebCatalog site (1998) searchable list archive (1997) webcat method for waiting specific amount of time? (2000) Bug? (1997) purchase.log file (1997) unable to launch acgi in WebCat (1997) emailer w/F2 (1997) Q: Japanese Kanji code support? (2000) [OT] (waaaay OT) (2004) Expected Behavior? (1999) Re:listfiles-looking for slick solution (1997) problems with 2 tags shakur (1997) [WebDNA] WebDNA 6.1 Info (2008) Need help with [cart] (2000) suffix mapping, use of cache, etc. (1997)