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:

Can this be done? (1997) Tab Charactor (1997) serial number generation (1997) Web Catalog vs. ICAT (1997) attn: smitmicro - cart limitation (2002) Transfering [text] variables (2000) Exclamation point (1997) Problem 2: Prefs file... (1997) Target wit redirect (1998) unsubscribe (2000) Help getting [shownext] to increment (2003) Email problem (1998) I'm new be kind (1997) Platform differences Commitdatabases (2000) Introduction/Tutorial/QuickStart (1997) [WebDNA] read database from other domain (2015) Grep search not working (2002) wierd [cart] action! (1997) Surprise x and y post args (1998) PIXO (1997)