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 to0 and min should be set greater than the most expensive item in yourcatalog. Then set up two [founditems] loops, one for display and one beforethat 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:
James,Set math variables for max and min, before your search. Max should be set to0 and min should be set greater than the most expensive item in yourcatalog. Then set up two [founditems] loops, one for display and one beforethat 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:
sandboxes with 6.0 (2004)
Webstar 4.2 Stops Serving (2000)
Mac v. NT (1998)
forming a SKU (1999)
process SSI (1998)
WebCat2: multiple currency support (1997)
Now when I send TeaRoom Order fields it does not post in Invoice. (1997)
WebDNA 5 & iTools 7 (2003)
[OT] MS IE from H3LL (2008)
WebTrends (2002)
WebCatalog can't find database (1997)
Help name our technology! I found it (1997)
Date Formats (1997)
emailer and bad addresses (1997)
Help with UPS Shipping (2006)
Satisfy Me ! was: Why can't support be satisfying to (2000)
Re:webCatalog and Stocks (1998)
Maybe minor bug report (1997)
Progress !! WAS: Trouble with formula.db (1997)
Nested tags count question (1997)