Yeah, it’s set on line 26 of file: virtue/lib/custom-woocommerce.php
You should see: woocommerce_related_products(4,4);
Just change the first number to the number of products you want.
Kadence Themes
Thread Starter
Joseph
(@xmsmmgrs)
I did that before contacting you and it displays only 5 related products where there should be much more.
Thread Starter
Joseph
(@xmsmmgrs)
..and if I change it to
woocommerce_related_products(4,2);
it still displays 4 in a row..
Yeah the theme doesn’t take into account rows, yet… working on a new framework so it’s coming. As for it only displaying a max of 5 I did a little testing looks like you need to add this to increase it:
http://docs.woothemes.com/document/change-number-of-related-products-output/
Kadence Themes
Thread Starter
Joseph
(@xmsmmgrs)
That did the trick. For a moment I thought that it won’t work couse I saw a similar code in the related.php file on line 18 and changed the “$posts_per_page” value without success.
$args = apply_filters('woocommerce_related_products_args', array(
'post_type' => 'product',
'ignore_sticky_posts' => 1,
'no_found_rows' => 1,
'posts_per_page' => $posts_per_page,
'orderby' => $orderby,
'post__in' => $related,
'post__not_in' => array($product->id)
) );
Anyways, thanks for the help. It was really useful!
Has this been resolved yet (as a general thing in the WooCommerce settings pages)?
Thanks