I\'m trying to filter WooCommerce product archive by custom attributes.
For example, there are 5 products with attribute \"color\" containing \"red\", and another 3
You can use WooCommerce AJAX Product Filter. You can also watch how the plugin is used for product filtering.
Here is a screenshot: