maximum Nr. of showed product

eCommerce WordPress theme to create online shop with WooCommerce support
GK User
Sun Feb 07, 2016 10:00 pm
Hi,

Would you be so kind to tell us please how can we modify the maximum Nr. of showed product on the screen (Now it is 9 product / page):

http://karmatech.hu/termekkategoria/sze ... amkeszlet/

How can we extend the site with a "drop down list box" of maximum Nr. of product ?

Thanks a lot,
User avatar
Senior Boarder

Joshua M
Mon Feb 08, 2016 9:03 am
Hi,

Please edit InStyle/gavern/wc-functions.php file around line 20:
Code: Select all
// Display 9 products per page.
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 9;' ), 20 );

to change the number of products.

Regarding the second question - please ask on woocommerce forum, because it's not connected with the theme directly.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.