The answer is that when you upgrade to the latest version of woocommerce, you need to "reinstall" woocommerce pages because the old system did not use the wc_get_page_id () function, which searches for the store page.
Fortunately, it is very simple! Go to your administrator, then in WooCommerce, then in system status, then open the "Tools" tab. Then click the button to the right of the Install WooCommerce Pages page. This will install only the missing WooCommerce pages and, upon receiving this, reinstall the store page with the corresponding "wc_get_page_id".
NOTE. If you have content on the original WordPress Store page, although it does not delete it for me, you can simply copy the content first just in case.
source share