Hi there!
I'm looking for a way to put price range links and two boxes in my menu.
I searched the forum but couldn't find the script I was looking for.
Example:
MENU:
* Any price
* Up to $90
* $90 – $200
* Over $200
$ ___ to
___$
Do you have one for me david? :)
Thanks.
Greetings,
Vince.
Hi Vince,
Welcome to the forum!
Have a go with something like this:
<ul>
<li><a href='<?php print $config_baseHREF; ?>search.php?q=bw:'>Any Price</a></li>
<li><a href='<?php print $config_baseHREF; ?>search.php?q=bw:&maxPrice=90.00'>Up to $90</a></li>
<li><a href='<?php print $config_baseHREF; ?>search.php?q=bw:&minPrice=90.00&maxPrice=200.00'>$90 - $200</a></li>
<li><a href='<?php print $config_baseHREF; ?>search.php?q=bw:&minPrice=200.00'>Over $200</a></li>
</ul>
<form method='get' action='<?php print $config_baseHREF; ?>search.php'>
<input type='hidden' name='q' value='bw:' />
$<input type='text' name='minPrice' size=4 />
to
$<input type='text' name='maxPrice' size=4 />
<input type='submit' value='Search' />
</form>
Cheers,
David.
--
PriceTapestry.com