Forums › Forums › Search & Filter Pro › Can't get working with woocommerce
Tagged: filter, filtering, sidebar, widget, woocommerce
- This topic has 5 replies, 2 voices, and was last updated 9 years, 9 months ago by Ross.
-
Anonymous(Private) March 25, 2015 at 11:39 am #13985
Hello,
I’ve just purchased your plugin and am having a little trouble using it with woocommerce.
I want to use the plugin to search through product categories
e.g blue, black, stripe, checks etcI’ve created a form and selected products to filter through. I’ve also added which categories I’d like to filter through.
Once I’ve added the widget to the sidebar, on the front end the form doesn’t display the set categories (above) but displays the post categories (e.g blog, uncategorized etc).
Can you please guide me how I can add the required product categories to the sidebar (using widget)
Any help much appreciated.
Ross Moderator(Private) March 25, 2015 at 11:46 am #13987Hi Ricky
This is a simple one 😉
Tags and Categories are pretty much the same thing as taxonomies. But tags and categories are reserved in WP for posts.
Any other plugin/theme that wants to create new categories, never truly creates categories – they will create a custom taxonomy, and call it something like “categories” or “product categories”.
So just add a taxonomy field to your form, and from the dropdown choose “product categories”.
Thanks
Anonymous(Private) March 25, 2015 at 12:00 pm #13988Ross,
Ah yes, simple thank you.
One other problem, when selecting an option to filter, the results don’t appear. It still displays the current set of products. The opacity of the product images changes (I think it the ajax) but the filtered results don’t change.
Thanks again
Ross Moderator(Private) March 25, 2015 at 12:22 pm #13989Hey again,
Please check the docs here – http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/
S&F doesn’t work directly with WooCommerce store page – but you must follow the instructions above to setup a new template for your search results.
Check the woocommerce demo – http://demo.designsandcode.com/sfpro-woo-mystile/product-search/ and notice the url is not the shop (http://demo.designsandcode.com/sfpro-woo-mystile/shop/)
Please also see this about setting up your search results page to look like your shop:
Thanks
-
AuthorPosts