WooCommerce product description issue | WordPress.org


Hello @gsmtricks,

Thank you for reaching out to us.

This is the order we follow to generate meta descriptions for WooCommerce products:

1. Content from the SEO Description field
If that is missing, then:
2. WooCommerce Excerpt or Product Short Description
If that is missing, then:
3. Template From General Settings in WordPress Dashboard > Rank Math > Titles & Meta > Products
If that is missing, then:
4. Auto generated Content from the product page (long description)

In this case, if you want to use the long description (product description you mentioned above) and shorten it a bit, you can use and modify this filter to create a custom variable for that:

And here’s a guide on how you can add a filter to your website:

After this, you can use the %woo_full_desc% variable in the SEO description or single product description field. You can then modify the number 160 in the filter to change the character limit.

Please note that the filter may not be visible while editing the products, as it only works when your products load in a browser. You can check the published/saved product’s meta description via its source code.

You can also check the product’s meta description using this tool:

We hope that helps.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer