Labels:
Woocommerce products per page
You are here: » Home
»
Woocommerce products per page
» How to Change WooCommerce number of products displayed per page
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...
Labels:
Woocommerce products per page
Labels:
Woocommerce products per page
Subscribe to:
Post Comments (Atom)
Previous Article

Responses
0 Respones to "How to Change WooCommerce number of products displayed per page"
Post a Comment