Woocommerce & Polylang: common comments under product in different languages

I developed a WordPress multilingual site with shop, based on Woocommerce plugin.
The task was to make all comments appear under all languages’ versions of a product.
Tried a lot of possible solutions and finally came to bare mysql request.

File woocommerce/single-product-reviews.php contains the line:

I changed it to the following:

That’s it, I got all the related comments under all versions of the same products.