From ea42fb5c97036e70f15e856b0a9e9b3e9a80e7c8 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Tue, 6 Dec 2011 10:34:22 +0000 Subject: [PATCH] Fix sub cat thumbnail size --- woocommerce_template_functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/woocommerce_template_functions.php b/woocommerce_template_functions.php index 2f6cdb476ee..296710df80b 100644 --- a/woocommerce_template_functions.php +++ b/woocommerce_template_functions.php @@ -1240,9 +1240,9 @@ function woocommerce_product_subcategories() { function woocommerce_subcategory_thumbnail( $category ) { global $woocommerce; - $small_thumbnail_size = apply_filters('single_product_small_thumbnail_size', 'shop_thumbnail'); - $image_width = $woocommerce->get_image_size('shop_thumbnail_image_width'); - $image_height = $woocommerce->get_image_size('shop_thumbnail_image_height'); + $small_thumbnail_size = apply_filters('single_product_small_thumbnail_size', 'shop_catalog'); + $image_width = $woocommerce->get_image_size('shop_catalog_image_width'); + $image_height = $woocommerce->get_image_size('shop_catalog_image_height'); $thumbnail_id = get_woocommerce_term_meta( $category->term_id, 'thumbnail_id', true );