Manufacturer is a page list field, and the generated prices are a range.
This is the form:
<label for="search-manufacturer">Manufacturer</label>
<select id="search-manufacturer" name="manufacturer">
<option value="">Any</option>
<!--?php
foreach($pages--->get("/manufacturer/")->children() as $manufacturer) {
$selected = $manufacturer->name == $input->whitelist->manufacturer ? " selected='selected' " : '';
echo "{$manufacturer->title}";
}
?>
</select>
<label for="search-price">Price</label>
<select id="search-price" name="price">
<option value="">Any</option>
<!--?php
foreach(array('0-50', '50-250', '250-500', '500-750', '750-1000', '1000+') as $price) {
$selected = $price == $input--->whitelist->price ? " selected='selected'" : '';
echo "$price";
}
?>
</select>
<input type="submit" id="search-submit" name="submit" value="Search">
What code do I need to put into "manufacturer-search" template to search products by criterions mentioned above?
I've looked into the skyscapers profile but couldn't make it work...
Thanks













