blank/white products page – How to fix if to many products are set to display (With WooCommerce Examples)

So your server wouldn’t let you display 999 products on the same page? 😀

This is how to fix if you have set too many products to be displayed on your WooCommerce products page.

Insert this code in functions.php:

add_filter(‘products_per_page’,function(){return 1;});

Then go to the products page and change the number, then remove the code from functions.php.