Originally published at
Moishe Beshkin. You can comment here or
there.
I combined Woocommerce & Polylang to make multilingual shop. The problem appeared, while I tried to display Shop page in other language than main one. I solved the problem in the following way: Add the code to your theme function.php file. function get_woocommerce_shop_polylang() { return pll_get_post(get_option(‘woocommerce_shop_page_id’ ) ); } add_filter(‘woocommerce_get_shop_page_id’, “get_woocommerce_shop_polylang”); This function actually gets [...]