@mikejolley I know this thread’s a few months old at this point, but perhaps you can help me out. The solution on that link isn’t working for me. Do you know if these snippets work in WC 2.4.12?
/**
* Does not filter related products by tag
*/
add_filter( 'woocommerce_product_related_posts_relate_by_tag', '__return_false' );
/**
* Does not filter related products by category
*/
add_filter( 'woocommerce_product_related_posts_relate_by_category', '__return_false' );
My end goal will be to show related products that share a tag with the one being viewed, but filter out any that have a specific tag, “Discontinued”. That way when you view Widget A 2.0, you also see Widget B 2.0 but NOT Widget B 1.0.