WordPress.org

Forums

WooCommerce - excelling eCommerce
How to find product category (1 post)

  1. Supriya_Kadam
    Member
    Posted 1 year ago #

    hi,
    I want to display header image according to category of products thats why i need to find the product category. I am using below code in theme-woocommerce.php file
    if (is_product_category('product_category'))
    {
    ....
    }

    But i am not find category of page. How to find category of products on product-category page

    http://wordpress.org/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic