WooCommerce Product Archives only Shows 2 Items – Elementor WordPress Tutorial

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);
    
}

Please Share

Help us to create Amazing Content!