Title: Product Category Variable
Last modified: December 11, 2020

---

# Product Category Variable

 *  Resolved [deandid](https://wordpress.org/support/users/lcm404/)
 * (@lcm404)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/product-category-variable/)
 * Is there away to use %%product_cat%% from woocommerce as a variable in the HTML
   titles managed by Yoast?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Priscilla Chapman](https://wordpress.org/support/users/priscillamc/)
 * (@priscillamc)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/product-category-variable/#post-13779128)
 * Hi [@lcm404](https://wordpress.org/support/users/lcm404/),
 * Yes, you can use the %%ct_product_cat%% snippet variable. See the full [list of Yoast SEO snippet variable](https://yoast.com/help/list-available-snippet-variables-yoast-seo/)
   s.
 *  Thread Starter [deandid](https://wordpress.org/support/users/lcm404/)
 * (@lcm404)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/product-category-variable/#post-13781121)
 * Cool, this is perfect.
 * Is there any way to limit or specify the number of taxonomies displayed? Some
   of my products have multiple tags from the same custom taxonomy is the reason.
 * Also, is there a way (or are you aware of a widget that allows for using these
   Yoast custom variables)?
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/product-category-variable/#post-13781644)
 * [@lcm404](https://wordpress.org/support/users/lcm404/) There isn’t a way by default
   to do that, but you are able to create custom variables. We have more information
   on this here: [https://yoast.com/help/list-available-snippet-variables-yoast-seo/#creating-custom](https://yoast.com/help/list-available-snippet-variables-yoast-seo/#creating-custom)
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/product-category-variable/#post-13812684)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)

 The topic ‘Product Category Variable’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/product-category-variable/#post-13812684)
 * Status: resolved