As stated in question, the solution to that problem is to set the woocommerce posts per page ( Apperance > Customize ) and your custom ‘posts_per_page’ to the same number. Hope it helps.
As stated in question, the solution to that problem is to set the woocommerce posts per page ( Apperance > Customize ) and your custom ‘posts_per_page’ to the same number. Hope it helps.