Sorry,
I think my last question :) is it possible to make the filter on select and filter the filterresults.
Thx
Henk
It doesn´t refresh and:
When you select category click on refresh/submit the brands doesn't filter.
Thx
Henk
Sorry Henk - "form" is an object not a function - the replacement should be:
<select name='pto_merchantFilter' onchange='JavaScript:this.form.submit();'>
(corrected above)
Cheers,
David.
--
PriceTapestry.com
Thx, the refreshing is working, but it doesn't changing the filter result:
its now or filter on merchant or filter on brands or filter on.
Thx
Henk
Hello Henk,
The filter clause should be added to the WHERE clause used to build the filter lists. In your pto_search.php look for the following code at line 315:
$pto_searchWhere = $where;
...and REPLACE with:
$pto_searchWhere = $where.$priceWhere;
Hope this helps!
Cheers,
David.
--
PriceTapestry.com
Hello Henk,
Sure! The actual filter form HTML is in the Main / Search Filters Widget template in wp-admin > Settings > PriceTapestry.org.
Within that template, look for each fileter's opening <select... tag for example:
<select name='pto_merchantFilter'>
...and REPLACE with:
<select name='pto_merchantFilter' onchange='JavaScript:this.form.submit();'>
(and same for pto_categoryFilter and pto_brandFilter of course)
Cheers,
David.
--
PriceTapestry.com