Woocommerce
-
Only two products displaying in a row.
I’ve read about this on other posts, and I’ve tried putting this in the theme folder’s functions.php file:
// Change number or products per row to 3
add_filter(‘loop_shop_columns’, ‘loop_columns’);
if (!function_exists(‘loop_columns’)) {
function loop_columns() {
return 3; // 3 products per row
}
}However, it doesn’t seem to work and I still get 2 rows of products.
I’d really appreciate help with this:
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Woocommerce’ is closed to new replies.