AnonymousInactive
Hi Ross! It is a staging side (besides one single maintenance notice that is more a “coming soon” site). You are totally free to do any changes for debbuging! Thanks in advance. I was really going nuts last week trying to find out what is happening there…
I saw the same problem that trevor discribed. As soon as I deactivate WooCommerce the form works… but with WooCommerce active it only shows products…
You raise two issues. The first about creating as many forms as you want. You can, but because the WooCommerce/Post Type Archive display methods attach to the wp_query in the archive template pages of the Post Type, only one form can attach per Post Type archive template, otherwise they would conflict. You can still add forms with other types of display methods to your site.
To the second question, it is possible to put more than one form on the same page, as long as that page is not the results page for more than one of those forms (any other form must go to another page to show its results. The reason here is that forms do not interact with each other (so, a field in one form will not see any changes in the same field in another form) as we use JavaScript to submit the form and process the filters.
As to needing JS code, it should not. Make the all-in-one form, place it on two pages, show me those pages and tell me which fields need to disappear on each page, and I will show you the CSS.
The WooCommerce method is a special case of the Post Type Archive method (and so cannot be used at the same time as a form using the post Type archive method when searching ‘products’. This WooCommerce method is special in that it allows you to select both ‘products’ and ‘variations’, as for WooCommerce there is a special WooCommerce archive template that combines both in to one page. Thus, the normal Post Type Archive method cannot select both Post Types, as indeed it cannot select more than one Post Type of any type.
You can only have one WooCommerce search form, which will need all the possible fields in it, and then use custom CSS to hide different fields on specific pages. To an extent, and with useful screenshots, this is discussed here I think:
https://support.searchandfilter.com/forums/topic/woocommerce-integration-avoid-redirection-to-shop-page/#post-208464
AnonymousInactive
Hi there. I have been using the plugin for a wihle to filter my shop page. That still works. But today I wanted to add another search form on my blog site to be able to filter blog posts (embedded via shortcode). Unfortunately I could bot make it work… I tried several things and I can display / filter products but nothing else will be shown in the results. I updated the cache after my changes. After some desperate testing I disabled all plugins and then it suddenly worked. The blog posts were shown in the results. Then I activated my plugins again one after another and realized that there seems to be some conflict caused by WooCommerce. But as I am running my online shop with this plugin I cannot replace this plugin. Is there a way to solve this problen? I would really need filtering for my blog posts and more custom post types!
Hiding ’empty’ fields (in your case attributes) is not possible in the current version. I am sure it could be done with JavaScript, but I have no snippets to offer.
Elementor tends to leave WooCommerce to handle its own pages, so using our WooCommerce method is likely to be the best option. (Product) Category pages are a bit different. I have always avoided having the shop page showing the categories.
AnonymousInactive
I have a filter to search cars in a woocommerce catalog.
Some os those cars must be hidden from search.
I’ve defined these posts ins a taxonomy named “oculto” (hidden – in portuguese).
In the search form those cars are still showing in the searchform.
I even tried do define those posts as Sticky and exclude Stick post from search, but without success.
AnonymousInactive
Hi there. I would like to bring the possibility to my woocommerce shop to filter already purchased products (if a user is logged in). This is a feature that is requested over and over by my customers.
It would be really awesome if there was a way to do this with search and filter pro. “wc_customer_bought_product” can be used to find these products, but I do not know how I can include this in search and filter pro… Any help would be greatly appreciated!
Ajax container for WooCommerce is often .results. It is possible that the pagination container might have to change also, maybe to .woocommerce-pagination a?
If they don’t work, are you able to send me a live link/URL to your search page so I can take a look?
AnonymousInactive
I am using Elementor Pro and Woocoomerce. I followed instructions mentioned in https://searchandfilter.com/documentation/3rd-party/elementor/
I have successfully changed my layout and added filter using shortcode and css to show it in horizantal way. however filter is not working, I see after changing items in filter then something changes in url like:
shop/?_sft_pa_player=kasparov but results is not changing based on the filter.
I have one filter, In general tab : Only “products” is selected
In Display Results Tab: I have woocommerce shop selected, load results using Ajax, make search bookmarkabale, only use Ajax on results page are selected. Ajax container is #main and Ajax pagination is “.pagination a”
In Posts Tab” Published” is selected
Tags Categories, nothing changed and as per default
In advanced tab: everything is selected
Please let me know if any other information you need to resolve my issue. Thanks in advance
Navid
Did you translate the products? Is this WooCommerce?