Hi!
I wish to confirm that this happens to 2 of our client’s websites. Randomly the shop page becomes empty. As a temporary fix, we update the Shop page by going to Pages > Shop without making any changes to the page. And it fixes the empty shop page issue.
Wondering if this is a theme issue.
add_action( 'init', function () {
if ( ! current_theme_supports( 'woocommerce' ) && class_exists( 'WooCommerce' ) ) {
add_theme_support( 'woocommerce' );
}
}, 1 );
We however didn’t add the code that is shared above and test yet.
Both websites run on Hostinger, uses WP Bakery and have LiteSpeed Cache enabled. We wish to get to the root of the problem what is causing this.
Thanks.
-
This reply was modified 1 month, 1 week ago by
ideageek.net.