How can I adjust number of products on every page in Product list?

If you want to change the number of products that display on every page in Product list, example from 8 products in every page to 12 products in every page, please following our guide:

Please go to the file wp-content\themes\OUR_THEME\lib\woocoommerce-hook.php and find:

 

function ya_woocommerce_catalog_ordering() {
global $data;

parse_str($_SERVER['QUERY_STRING'], $params);

$query_string = '?'.$_SERVER['QUERY_STRING'];

// replace it with theme option
if($data['woo_items']) {
$per_page = $data['woo_items'];
} else {
$per_page = 8;
}

 

=> Edit $per_page = 8 to your number

and find:

$html .= '<span><a>'.esc_html__('8', 'shoppystore').'</a></span>';

 

=> Edit 8 to your number

and find:

function ya_loop_shop_per_page()
{
global $data;

parse_str($_SERVER['QUERY_STRING'], $params);

if($data['woo_items']) {
$per_page = $data['woo_items'];
} else {
$per_page = 8;
}

 

=> Edit $per_page = 8; to to your number

Hope this help.

Thanks