You are here:  » extra filters like brands

Support Forum



extra filters like brands

Submitted by redspark on Thu, 2009-05-07 20:20 in

Hi David,

For my holidaysite i have used category for countries and brands for cities. Vistors can now search on country level and filter on city level. I have add an extra field in the database called region. That is working fine, the regions are imported in the database.

What i would like to do now is search for Country -> filter on region -> filter region on city. If tried to do it with the cases in the search page, but i got stuck. Can this be done?

regards,

B.

Submitted by support on Fri, 2009-05-08 08:16

Hi,

There is quite a lot involved in this; as well as modifying search to handle the filtering, the drop-down code is also required.

Bear with me, and I'll test this out a modification to the merchant: brand: search handler that will support multiple fields (including new fields you have added) in the query, for example:

category:Widgets:brand:Widgetco:newfield:Etc:keywords

The benefit of this approach is that none of the follow on links (sort, next page etc.) need to be changed to include new query parameters...

Cheers,
David.

Submitted by redspark on Sat, 2009-05-09 12:02

Hi David,

Thanks for the effort. The approach sounds good