The products sold out and I will not continue to sell them. However, these products still show on my website by categories.
I don’t want to remove them because this is not good for SEO. I also try to create a new category, but this category appears in many places on my website.
I just want to hide them in selling product categories, and keep the links. Could you give me a solution for that?
It’s easy to hide any product you don’t want to appear in the category where the product link is not affected.
Open the products list on the admin page, take the mouse to a product you want to hide, and then click on “Quick Edit”. You will see the Visibility and select “Hidden”. Click update to save.
You can use a plugin or custom code to hide sold out products in WooCommerce. Here are the steps to achieve that:
This code will hide sold out products in your product categories, but the links to these products will still remain active and accessible.