You are here:  » Stand Alone Search Filters


Stand Alone Search Filters

Submitted by ChrisNBC on Thu, 2018-07-26 08:21 in

Hi David,

Hope all is going well, seems ages since I was last on the forum. I wonder if you might be able to help me with a modification that I have been considering for a while now…. A large proportion of my traffic now originates from mobile devices and all indications are the proportions will increase, so I would like to make my site more mobile centric. To do this I’m wondering how feasible it would be to take the existing dynamic side bar filters and move them onto the home page so a user would first click “find my perfect product” and would then be presented with the filters in turn to select their product requirements. So for example:

Select Gender
Select size/s
Select category/s
Select Colour/s
Select Brand/s

Once the selections were made the search results would then be displayed as normal.

I wondered if you might be able to suggest if there is a simple way to isolate the sidebar filters and display them one at a time.

Thanks in advance.

Bests regards
Chris

Submitted by support on Thu, 2018-07-26 09:19

Hello Chris,

You can potentially do this very easily; all you should need to do is to include the search filters HTML module on your home page with $q pre-populated to "bw:" (which returns all results) e.g.

<?php
  $q 
"bw:";
  require(
"html/searchfilters.php");
?>

Cheers,
David.
--
PriceTapestry.com