Website Building » WooCommerce » How Do I Find the Current Category ID in WooCommerce?

How Do I Find the Current Category ID in WooCommerce?

Last updated on October 1, 2022 @ 10:25 pm

If you’re running a WooCommerce store, there are times you may need to know the current category id. For example, if you want to show different products on different pages, or if you want to create a custom WooCommerce shortcode. In this article, we’ll show you how to find the current category id in WooCommerce.

The first thing you need to do is log into your WordPress Dashboard and go to WooCommerce->Products->Categories. On this page, you will see a list of all the categories in your WooCommerce store.

Each category has a unique ID number. You can find this number in the “ID” column.

Now that you know how to find the current category id in WooCommerce, you can use this information to create custom WooCommerce shortcodes or show different products on different pages of your store.

PRO TIP: This note is to warn you that the ‘How Do I Find the Current Category ID in WooCommerce?’ article may contain outdated or deprecated information. Please use caution when following the instructions in this article.

How Do I Find the Current Category ID in WooCommerce?

If you’re running a WooCommerce store, there are times you may need to know the current category id. In this article, we’ll show you how to find the current category id in Woo Commerce.

The first thing you need to do is log into your WordPress Dashboard and go to WooCommerce->Products->Categories.

Now that you know how to find the current category id in WooCommerce, you can use this information to create custom WooCommerce shortcodes or show different products on different pages of your store.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.