Forums › Forums › Search & Filter Pro › Problems setting up Woocommerce search
- This topic has 14 replies, 2 voices, and was last updated 8 years, 11 months ago by 
Anonymous.
 
- 
		
			
				
Trevor(Private) November 24, 2016 at 12:38 pm #72083
The real site has that search page, but not the staging site? I can see that you have
Maintain Search Form Stateenabled, which I would not, andEnable Auto Countoff whereas I would have this ON.You also have the form restricted to products with just those four categories attached.
I also note that the
Results Containeris set to#contentbut when I look at the results page, that div also includes the search form, which is not allowed, so changing the results container to.search-filter-resultsin this case might also help.Anonymous(Private) November 24, 2016 at 12:58 pm #72095Hi Trevor, thanks for getting back to me.
I didn’t set up a specific ‘Search’ page on the staging site as ideally, I’d like people to be able to filter results when they are in category pages of the shop – for example, if they know they’re interested in bungalows and go to that category page, they will get 16 results. But if they only want to look at 2 bedroom bungalows, or ones with an integral garage, I’d like them to be able to filter the irrelevant products out.
With the non-house design products, I don’t want the filter on there at all as it won’t be relevant, hence why I limited it to just those four categories.
I don’t know if what I want it achievable so will rely on your superior knowledge of what will work. If you think it would be better to replicate the Search page from the original site, I’m happy to do that.
Thanks
Andy
Anonymous(Private) November 24, 2016 at 1:29 pm #72111Hi Trevor,
Ok so I have replicated the Search page at http://staging.houseplansdirect.co.uk/search-house-designs/
and now it appears the correct search results are being returned after a few quick tests. I’ve got it returning results using a shortcode as per the live site, the only issue is the layout but from memory that was fixed easily enough when I set it up on the live site.
So am I right in thinking that S&F won’t work with Woocommerce the way I’ve described?
Thanks
Andy
Anonymous(Private) November 24, 2016 at 1:38 pm #72115Hi Trevor,
The live site doesn’t use Woocommerce at all. All of the house designs are posts, which link to Easy Digital downloads products which people can download.
We decided to switch to Woo, hence the staging site. So all the old posts have been converted to Woo products.
The way I saw S&F working was that when people are in the category pages for house designs, they can filter by number of bedrooms, features etc. But these filters would not apply to the non-house design downloads, as these are e-books, brochures etc. So when I first set S&F up on the staging site, I followed the guide to setting it up for Woo.
If we have to stick with the dedicated search page for it to work then so be it, but it would be cool if it worked in the Woo pages as well.
Andy
 - 
		AuthorPosts