Display related products based on 2 specific product attributes values in WooCommerce
I am looking for solution to display related product by multiple product attributes. I’ve tried “Display Related products for a specific product attribute value in single product pages
“ StackOverFlow answer code, but it works only for one product attribute value.
How to make the same, but for two product attributes values?