AnonymousInactive
I am searching custom post type only I do not have woocommerce installed.
Thinking that through in my head. I hadn’t considered that you need some search as well on other pages. Bearing in mind that you can have only one form for WooCommerce, you cannot have another form, and, if you had just the one form to do it all, it would not work.
I cannot see any way to have a form on the Perforated Paper pages that will stay on those pages and be available only for those pages, without it also being needed on the other pages and doing something very different.
Reluctantly, I have to say that I do not think what you want is possible. You would have to have one generic form on all pages, which, within it, would replace the Results Per Page and Sorting options, and any other searching you have in that sidebar, and not be able to have a Perforated Paper only search.
The problem is that, despite that you may place on a single numerical value in a product attribute, WooCommerce and WordPress treat them as serialised text data, which means they cannot be accessed as single numbers.
Only a custom field defined as a number, with only a single numerical data term (can only contain the characters .0123456789) can be filtered as a range.
The Posts per page WooCommerce control will not work with our plugin, and must therefore either be disabled or hidden on that page. Instead, there is a similar control in the Form UI for our form:
https://www.screencast.com/t/rvVOYlgRC
You should set whatever default you need on that same edit form page (it is the 2nd option on the General Settings tab).
You would need to use free resources, like the excellent code Q&A site https://stackoverflow.com/
Wherever they need to fetch the post ID, use the WordPress get_the_ID() function instead of other methods they may suggest (for example, do not use $post->ID).
Rather than using the search on their site, I use a google search like this:
https://www.google.com/search?q=show+WooCommerce+product+attribute+field+value+site%3Astackoverflow.com
AnonymousInactive
In the Enfold theme option, the product gallery is set to “Woocommerce 3 product gallery” but it’s seem taht this properties is not used. In the page https://groupe-rdimmo.fr/acheter/ I’am using the product grid item provide by AVIA builder. Do you think that it’s possible to filter this product grid with the Search and Filter ?
AnonymousInactive
Hi guys,
We are using a search form with multiple taxonomies (3 custom and 1 woocommerce).
The 3 custom taxonomies work fine (Gender, material, and shape). The issue
is the woocommerce attribute (pa_colour) is returning 0 results.
https://stagingwolf.wpengine.com/product-category/mens/?_sft_gender=men&_sft_material=pure-titanium
Any ideas would be great,
Thanks
On the perforated paper page, does it not show just those perforated products? I can see 4 pages of 10 = 40? But, if I look at the list of Perforated Paper products in Product Categories, there are 41. Note that the Posts per Page and Order By filters (at the top of the results) from WooCommerce do not work with S&F (AFAIK), so you may want to hide them. I am not sure which one is missing, or why?
Or, did you need Posts Per Page set to 36? That is done in the form on the General settings tab.
If it is all working fine, then you need to hide the Product Category field using CSS, and then add a Custom Field or another (new) taxonomy, just for the sub-categories of Perforated Paper.
If I understand you correctly, try these settings (for WooCommerce):
https://www.screencast.com/t/GLtle7cV
and:
https://www.screencast.com/t/4i2lriAsVR6g
Finally, pa_attribute1 must be in the Form UI:
https://www.screencast.com/t/OzulvC6Y0R
I think that is what you need.
AnonymousInactive
Hello,
I tried to found a solution in documentation, but i haven’t understend it well.
Is it possible to transfer the Search & Filter settings? I.e .:
Through the WooCommerce attributes I go to the /atribute1/ value1 attribute page. I would like the Value1 option to be automatically selected in Search & Filter.
If not, than what solution You suggest to solve this problem?