I had the same problem and I came up with this solution, hope it helps.
<?php
$terms = get_the_terms( $post->ID, 'product_cat' );
foreach ( $terms as $term ){
$category_name = $term->name;
$category_thumbnail = get_woocommerce_term_meta($term->term_id, 'thumbnail_id', true);
$image = wp_get_attachment_url($category_thumbnail);
echo '<img src="'.$image.'">';
}
?>
Related Posts:
- WooCommerce: List All Categories
- Woocommerce get category image full size
- Combine two taxonomies in a hierarchical tree
- Woocommerce product categories order [closed]
- Way to force media uploader use custom image size
- How to split the categories of subcategories with thumbnails
- WooCommerce – Display product child categories from specific parent
- How to order categories in Woocommerce that are spread over multiple pages? [closed]
- How to add categories to products in woocommerce programatically? [closed]
- Display products for a category, sorted by post_excerpt
- Woocommerce – Get product category 2nd level category
- How do you remove display of WooCommerce product category on single product page?
- Display the featured image from the last post
- Show Featured products in product category pages
- Add Image Size for one Media Category Only
- Extract image url associated to a category
- Retrieve Image from Media Library by it’s category
- woocommerce product category tabs [closed]
- Get Tags specific to Category using WooCommerce plugin
- Link Attachment Image to Category
- Change thumbnail image depending product category
- category image taxonomy
- How to change how many list item show in category generated by file edit-tags.php
- get_post_meta not working on category.php
- Redirect to another page using contact form 7? [closed]
- Random Featured Image Based on Category
- Show button only for certain Woocommerce Product Categories
- Target a specific category from a custom taxonomy?
- Category images are not displaying in WordPress
- How do you use the featured image of the most recent post in a category as the background image
- Need to echo category id in multi-dimensional array
- Category view with contents of [gallery]s shown
- How to display product categories and number of sales on WooCommerce
- show category in woocommerce
- How to add image for all posts associated to specified category?
- How to display WooCommerce category image in my category page banner as a background?
- How to hide featured images of all posts falling under the same category in wordpress?
- How to make product image inherit from category image
- How to display categories image in loop homepage WordPress
- Change background image page header overlay for each category
- Image Upload Custom Form Field for Category and Custom Taxonomy
- Icon images across multiple categories
- Media Categories as Classes on WordPress Gallery Shortcode
- How to relocate images
- In a shared site, how to get products in a category from one site to another?
- Display one post on category.php: Wrong featured image
- Category page with gallery for each post
- Retrieve post thumbnails
- List products from current category
- Image menu showing categories in page
- Display all subcategories for a product category in woocommerce
- Narrow Down a Shop Page Results Based on a Product Tag in WooCommerce
- Get all first images of posts in same category
- WooCommerce Product Search Error
- Add category image before post title on homepage
- how do i set an image for a category in admin panel
- How to link images of one WP site to another WP site?
- Add product category to post_class
- How to create a photo gallery that can be filtered by the image categories
- Images as Categories
- List all the categories with or without post
- Solutions to repost categories into multisite blogs?
- Archives for each category on WP Multisite
- Update post title with category name after editing a category
- Display category description instead of “nothing found” page
- Automatically set default password to all posts in a specific category
- Set Current Category to Active in category.php
- ACF: Display category name using taxonomy field
- How to show only one category in breadcrumb navigation
- Automatically adding categories and authors in custom menu?
- How to Delete all Unused photos Function
- Style wp_list_categories
- Second level subcategory
- How to resize images due to container width automatically server side/without CSS
- how to define category loop last class in the third
- Checking for two categories in query_posts
- Hard coded main navigation
- get_the_categories filter returns an empty array
- How to display only subcategory
- Highlight wp_nav_menu when category is selected
- Category’s Description field as editor remove tag
- Adding Categories Through Function
- How to query post like normal search would do. within search.php page
- Resort get_categories
- Customized landingpages for categories
- Category pie diagram meta box in post editing page
- get_the_category_list open in parent window
- Set featured image randomly from WordPress Database on post submission
- Creating gallery with taxonomy images plugin?
- Full text articles in the rss feed (i.e. without the more tag)
- How to call custom category field data in theme?
- How to add image attachment to post from a single meta key (Woocommerce)
- Category location styling
- Get only one of the current categories
- Query Posts Exclude Entire Category
- How to get the id from the custom category?
- Show Available Taxonomy List with Current Category
- Category index featured image
- How to get grandparent of a given category
- Assign post format to categories