Re: Price spread

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44077
interpreted = N
texte = James,Set math variables for max and min, before your search. Max should be set to 0 and min should be set greater than the most expensive item in your catalog. Then set up two [founditems] loops, one for display and one before that on your page.Within the first [founditems] place something like:[showif [price]>[max]][math show=F]max=[price][/showif] [showif [price]<[min]][math show=F]min=[price][/showif]Then just above your item list, addPrice range: [min] - [max]. > Hi there > > I am finishing a revamp on my site and would like help to provide the > customer with the spread of prices for products in the form > > Prices from $100 - $180 > > ignoring each price between the lowest and the highest. > > The listing for a product is based on the photo code [pic], a > simplified example is below > > pic description price > cj131 10kt Gold Celtic Wedding Band $100 > cj131 14kt Gold Celtic Wedding Band $140 > cj131 18kt Gold Celtic Wedding Band $180 > > I would be grateful for any help with this as I'm getting tight on time. > > JAMES MURTAGH > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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:

    
  1. Re: Price spread (Pat McCormick 2002)
  2. Re: Price spread (Glenn Busbin 2002)
  3. Re: Price spread (Donovan Brooke 2002)
  4. Price spread (James Murtagh Jewellers 2002)
James,Set math variables for max and min, before your search. Max should be set to 0 and min should be set greater than the most expensive item in your catalog. Then set up two [founditems] loops, one for display and one before that on your page.Within the first [founditems] place something like:[showif [price]>[max]][math show=F]max=[price][/showif] [showif [price]<[min]][math show=F]min=[price][/showif]Then just above your item list, addPrice range: [min] - [max]. > Hi there > > I am finishing a revamp on my site and would like help to provide the > customer with the spread of prices for products in the form > > Prices from $100 - $180 > > ignoring each price between the lowest and the highest. > > The listing for a product is based on the photo code [pic], a > simplified example is below > > pic description price > cj131 10kt Gold Celtic Wedding Band $100 > cj131 14kt Gold Celtic Wedding Band $140 > cj131 18kt Gold Celtic Wedding Band $180 > > I would be grateful for any help with this as I'm getting tight on time. > > JAMES MURTAGH > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Pat McCormick

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 chatroom (1997) Re:2nd WebCatalog2 Feature Request (1996) Questions about maximum (1999) What week is first? (1998) new storefront (2003) Separate SSL Server (1997) too many nested [xxx] (1997) 2.1 Stuff (1998) wo search help (1999) FEATURE REQUEST: (was: Summarizing results. Is there ashortcut? (1999) RE: ShowNext Command (1997) Re:Emailer (1998) changing creator codes (2000) # of real domains on 1 web server (1997) price totals (2003) Bug Report, maybe (1997) [showif] with ! (2000) WebCatalog plugin, FireSite and PIXO (2000) [lookup] vs. [search] (1998) [convertchars] limits (1998)