Products per page

eCommerce WordPress theme to create online shop with WooCommerce support
GK User
Tue Mar 24, 2015 6:07 pm
Currently in my products pages it only shows 9 products before I have to click next. Can I just have it show all my products and remove pages?

Does this increase loading times?

Thank you,

Christopher
User avatar
Junior Boarder

GK User
Tue Mar 24, 2015 10:45 pm
Hi,

Yes, it definitely increase the loading time. You can change it in Instyle/gavern/wc-functions.php file.
Please edit this line:
Code: Select all
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 9;' ), 20 );

and change return 9 to your value.
User avatar
Moderator


cron