Forums › Forums › Search & Filter Pro › Filter by category in Woocommerce
- This topic has 6 replies, 2 voices, and was last updated 5 years, 1 month ago by Trevor.
-
Anonymous(Private) October 1, 2019 at 3:11 pm #222527
Hi, i’ve just bought the plugin and set it up on a site i’m working one – built with elementor. I have it almost working though i also have categories setup for manufacturers and the products assigned to it. I was wondering how to get this filtering to work as i can only get all the manufacturers to display, not just the ones related to the category that the user is in, so when one of the checkboxes is selected for manufacturer it displays everything by that manufacturer rather than just the products within the current category.
Here is the demo site
https://61817f8209a1a54fb607308d4dd02136.p.myukcloud.com/product-category/hi-fi/speakers/in-ceiling/
basically i want it to work like this site –
https://petertyson.co.uk/speakerssubs/hifi-speakers/inwall-inceiling
Trevor(Private) October 1, 2019 at 3:43 pm #222536If this is a taxonomy archives page, take a look at these settings (note that product category is in the form, but hidden with custom CSS):
https://www.screencast.com/t/MNH8XFPSYv
and these:
https://www.screencast.com/t/hRBDyAa40MTF
But, the Ajax Container you most likely have correct, so don’t change that to
.results
. CSS to be used:#search-filter-form-5823 .sf-field-taxonomy-product_cat { display: none; }
Anonymous(Private) October 1, 2019 at 3:54 pm #222542Hi thanks for the reply. I’ve changed a couple of the settings i had and now it only displays the manufacturers with the category being displayed, though whenever i select one of the options it then loads all the products from that manufacturer rather than just the one sin the displayed category.
-
AuthorPosts