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:

[WebDNA] Silly question (2009) Type 11 errors setting up WebCAt 2 (1997) Checkboxes (1998) html delivery (1997) Search in 2 or more catalogs (1997) [WebDNA] WebDNA Email Auth Functioning? (2014) Beta (?) version of WebCatalog 2.1 (1998) WebCat editing, SiteGuard & SiteEdit (1997) Stats (2001) Server IP address? (1998) Help! WebCat2 bug (1997) WebCatalog for guestbook ? (1997) Re:WebCat for mass emailings (1997) searchable list archive (1997) Creating Discussion Forum (2000) Mozilla/4. and Browser Info.txt (1997) Search results problem (2003) more cookie crumbling (1999) (ot) sitemap generator (1998) Database Upload (2000)