https://jesperlundnielsen.dk/how-to-make-woocommerce-work-with-polylang-wordpress/
Open the file wc-page-functions.php
Navigate to this file “wp-content/plugins/woocommerce/includes/wc-page-functions.php” and open it in a text editor
Search and replace code
Find the function called “wc_get_page_id( $page )” and then this line:
$page = apply_filters( 'woocommerce_get_' . $page . '_page_id', get_option('woocommerce_' . $page . '_page_id' ) );
and replace it with:
$page = function_exists('pll_get_post') ? apply_filters( 'woocommerce_get_' . $page . '_page_id', pll_get_post ( get_option('woocommerce_' . $page . '_page_id' ) ) ) : apply_filters( 'woocommerce_get_' . $page . '_page_id', get_option('woocommerce_' . $page . '_page_id' ) );