Title: Empty Category Message
Last modified: February 15, 2018

---

# Empty Category Message

 *  Resolved [frabie](https://wordpress.org/support/users/frabie/)
 * (@frabie)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/empty-category-message/)
 * We have a dedicated category links in our main WordPress Menu.
    From time to 
   time there will be categories that need to be empty, ie. if there is no current
   events related products. We do not want to remove the link everytime there is
   no items in it. Rather we would like to **display an message instead when an 
   empty category page is opened**. Example:
 * > There are no items in this category. Please check back soon or visit our shop
   > page [link] to see all available products.
 * Currently, when an empty category page is opened it shows a blank page.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fempty-category-message%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Michael K](https://wordpress.org/support/users/mikkamp/)
 * (@mikkamp)
 * Automattic Happiness Engineer
 * [8 years, 3 months ago](https://wordpress.org/support/topic/empty-category-message/#post-9981073)
 * Hi,
 * By default it will display the message “No products were found matching your 
   selection” on an empty category page. However you might have something in your
   theme which adjusts this if you just get an empty page. If this text is showing
   up you can use a translation plugin to customize it. I’d suggest having a look
   at Loco Translate: [https://wordpress.org/plugins/loco-translate/](https://wordpress.org/plugins/loco-translate/)
 * Another alternative is to override the template file which is used for this. 
   By default if a category is empty it will display the template file `loop/no-
   products-found.php`
    You can override this template by copying it to the following
   location within your child theme: `yourtheme/woocommerce/loop/no-products-found.
   php`
 * If needed you can use one of the conditional functions like `is_product_category`
   to only display your custom message when it’s a category page.

Viewing 1 replies (of 1 total)

The topic ‘Empty Category Message’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [empty](https://wordpress.org/support/topic-tag/empty/)
 * [links](https://wordpress.org/support/topic-tag/links/)
 * [message](https://wordpress.org/support/topic-tag/message/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael K](https://wordpress.org/support/users/mikkamp/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/empty-category-message/#post-9981073)
 * Status: resolved