[Genesis] WooCommerce - Change number of products per page
1. Go to Appearance > Theme Editor > Functions.php.
2. Locate this section in the Functions.php file:
//* Display 6 products per page add_filter( 'loop_shop_per_page', 'new_loop_shop_per_page', 20 ); function new_loop_shop_per_page( $cols ) { // $cols contains the current number of products per page based on the value stored on Options -> Reading // Return the number of products you want to show per page. $cols = 6; return $cols; }
Note: depending on which theme you're using, this may say 6 or 12 products per page.
3. You'll edit this line:
$cols = 6;
4. Replace the 6 with your desired number of products per page. Be careful to only replace the number — don't modify anything else.
5. Click Update File to save.
Audrey Theme
Same instructions as above, with a different first step.
1. Go to Appearance > Theme Editor > Woo folder > woocommerce-functions.php.
2. Follow steps 2-5 above.