WP for Wordpress

How to Change WooCommerce number of products displayed per page



By Default Woocommerce Archive page display the products with pagination. means that each page with certain amount of products that is defined in wordpress reading settings. If you want to display more products than defined ex( 10,12 or 20) per page, simply add the following code in your theme functions.php // Display 24 products per page. Goes in functions.php add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 ); This means that each page contains 24 products you can change it as per your need...


Responses

0 Respones to "How to Change WooCommerce number of products displayed per page"

Post a Comment

AddThis

 

Recent Comments

Return to top of page Copyright © 2014