When viewing a product in die single product view, there’s two navigation items that shows either the previous or next product in line. This works fine except that it also shows products that is set to “hidden” in the visibility section of the product (in the backend).

Yes, unfortunately these buttons will ignore the “hidden” product settings. We use the standard wordpress get_previous_post() and get_next_post() post functions to query the previous/next product posts and these functions ignore the “special” WooCommerce data fields like “catalog visibility”, etc.

The only solution I can provide is to completely remove the next/previous buttons from the single product pages if you want to avoid that users can view hidden products. Open up functions.php and insert following code

I have noticed that all the “single” products listed on yours don’t show up in the previous/next arrows but for some reason in mine they are please see the site I have attached in the private content… in this site the single products of the grouped ones are showing up in previous and next how can I hide these like your demp store?

Hi Andy I did hide the previous/next using the above filters as I couldn’t work out why the single products of the grouped ones were showing up when they didn’t in your test I will un-hide so you can see what I mean? see private link if you click the “next” button it takes you to the single product of the grouped one on that page whereas your test site doesn’t show the single products of the grouped one in the previous/next buttons or the catalog.