Tell us what you are trying to do?
This is a follow up for ticket #2260415
Back then I did not have a testsite available. Now it's there for you to continue to look into this. I can share access to this website.
but it doesn't work for me. I cannot find the product visibility as a taxonomy when adding a filter. It just isn't there. The instruction seems ok, but is also a bit short. Anything that I need to check to be able to filter on this taxonomy?
Attached image is in Dutch - I would expect the ' product visibility' in this list. But it isn't neither anything in Dutch that looks like it. Is this the right place to look for it?
Hello. Thank you for contacting the Toolset support.
Can you please share problem URL where you want to display the products and what view you created and tell me with what product you set the visibility and what products you would like to display.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Hi Minesh
Thank you for checking and the code
On the test site, the product still shows on the product category, which was the originally reported issue: hidden link
So it wasn't solved.
And by the way, isn't this something that should work out of the box, without having to add custom code?
Please have another look why the items are still showing on the category pages.
Thanks! Best regards Robbert
Sorry I pasted the wrong link.
Something is now broken on the testsite
The original link hidden link completely lost its formatting now.
It should look like this: hidden link
And now is just a list of items. What happened here?
Thanks Robbert
The thing is that product_visibility taxonomy is a hidden taxonomy and its managed by WooCommerce.
To get filter products with product visibility on archive we will require to use the pre_get_posts hook.
The original link hidden link completely lost its formatting now.
===>
I had set the archive to display using archive created using Toolset:
- hidden link
I've now stop to use Toolset archive and now it does displays the archive correctly as you want:
- hidden link
I've set the following product visibility as hidden:
- hidden link
And I can see that its not get displayed with archive:
- hidden link
Ok thanks, that for itself is clear, but not a solution.
I created the archive page with Toolset, because on every product we're showing some of the additional fields (see attached).
In other words, I need the toolset archive - and to have it look like I had it before. Is that still possible if I add the code you sent earlier?
If you still see its not working as expected with your site, please share access details to your site where you see its not working and I'm happy to take a look at it.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] Visibility issue for WooCommerce products’ is closed to new replies.