Remove category image from WooCommerce shop page display

Author: | Posted in WordPress 2 Comments

If you have selected ‘Show categories & subcategories’ in Shop Page Display drop-down list, categories and subcategories will be displayed on default shop page of your WooCommerce store along-with product count and category/subcategory image.

woocommerce-display-shop

If you don’t want to have category/subcategory images on shop page, you can do following hack which involves editing WooCommerce template.

Open ‘content-product_cat.php’ file and find following code:

add two slashes in the beginning of this line to ‘comment’ it.

Save the file and check shop page.