Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31576

mozdt on "[Plugin: Search & Filter] 'All Product Categories' searches not working as expected"

$
0
0

I'm having a problem with Search & Filter using woocommerce.

In Woocommerce I have my categories set up and a 'designer' attribute for the clothing designers name (there are only two designers at the moment). I'm using the following code:

[searchandfilter fields="product_cat,pa_designer" types="menu,checkbox" operators=",or,and" ]

When selecting a category from the dropdown menu and one of the names it works as expected. If I select a category without selecting a designer it brings all the products back as a result - fine.

However, if I leave the category as 'All Product Categories' with no designers selected, instead of returning everything I get a 'No content matched your criteria'.

If I do this again but select just one of the two designers it gets a '404 Page not found'.

If I do it again but this time select both designers it brings all the results.

So, everything works as expected when a category is chosen but not when the category is left as 'All Product Categories'.

Any idea what the problem is?

http://wordpress.org/plugins/search-filter/


Viewing all articles
Browse latest Browse all 31576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>