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:

[shippingtotal] in Formulas.db (2002) can you take a look (2003) Bug Report, maybe (1997) Function basic question (2006) Date Range Sorting (1997) Apache 2 (2003) NT BETA BUG???? (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Cart Question: The Epic Saga (1998) Secure Sever and showcart errors (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) unable to launch acgi in WebCat (1997) [searchString] (1997) File Security (1999) Extended [Convertchars] needed (1997) RE: OK, here goes... (1997) case sensitivity in lookups (1997) How To question on setting up downloads (1997) [WebDNA] Help with work-around format date (2013) Search Engine questions ... (2002)