1. Home
  2. Knowledge Base
  3. WooCommerce Product Table
  4. Product Table Shortcode Options
  5. Product description length

Product description length

The description_length option sets the length of the description column, if used in your WooCommerce product table. It tells the plugin how many words to display in the description field – any extra words will be truncated.

How to set the product description length

Enter the number of words you wish to display in the product description – the default is 15 words. Set this to -1 to show the whole product description.


[product_table columns="name,description" description_length="20"]
[product_table columns="name,description" description_length="-1"]

The description length option isn’t working

If you have set a description length and the full description is showing, then this is because you have set shortcodes to true in your product table. If you’re using the shortcodes option then the description length option is ignored in order to display the shortcodes correctly.

Was this article helpful?

Related Articles