Is your WooCommerce shop page displaying only two products? This quick tutorial will shows you how to fix it step by step. Perfect for beginners and store owners looking to restore full product listings fast. Watch now and get your shop back on track!
Code Used:
add_action( 'woocommerce_product_query', 'change_posts_per_page', 999 );
function change_posts_per_page( $query ) {
if( is_admin() )
return;
$query->set( 'posts_per_page', 30);
}