Hello,
i would like to Change the number of products displayed per page, on my Woocommerce section of my website
http://le-meilleur-du-golf.com/categorie-produit/montre-gps-de-golf/
example on that page, i have only 8 products displayed, they visitors have to go to ‘page 2 & 3’.
Do you have please an idea to change the number from 8 to 24?
thanks a lot for your support
Thierry
You know, I was just looking for that.
There is *no* setting in latest WooCommerce (I just updated today), and there is not a setting in the theme panel I could find.
I am going to presume it’s using the default WordPress index setting from
WP > settings > reading ?
But don’t quote me on that 🙂
Hello,
Thanks for your feedbacks, i have solved my issue with the following
// Display 24 products per page. Goes in functions.php
add_filter( ‘loop_shop_per_page’, create_function( ‘$cols’, ‘return 24;’ ), 20 );
Chris, this might suit you as well
cheers,
Thierry
Awesome!
I am still working on my first install of WooCommerce (after 20 years of doing ecommerce sites). I had only been working with ONE service category so far that had 6 items in it, and had not yet populated other categories — I’ve been obsessing about custom messages via hooks in functions.php and iPad portrait mode layouts — but was wondering about this topic the other day myself due to fact once I populate other service categories the “main” parent category would end up doing the same thing when I’d want to see 12-20 items per page or more.
Thanks for sorting that out 🙂
Seems with WooCommerce almost everything gets put into the functions file.
You would think they would include one “example fuctions” file someplace where you could copy out the stuff without having to look all over the place online or decipher their docs.
Thanks for that! I just updated my functions with your code.