Website Building » WooCommerce » Is There a Shortcode for Product Description in WooCommerce?

Is There a Shortcode for Product Description in WooCommerce?

Last updated on December 22, 2022 @ 8:00 am

If you’re running a WooCommerce store, you might be wondering if there’s a shortcode that you can use to display a product’s description on your website. The answer is yes! You can use the “[product_description] shortcode” to output a product’s description on any page or post on your site.

Here’s an example using different shortcodes:

Sample Shortcode WordPress

Here’s their output:

Shortcode Output WordPress

Here’s how you can use the “[product_description] shortcode“:

[product_description]

This shortcode will output the full product description for the product that is currently being viewed. If you want to output the description for a specific product, you can use the following syntax:

PRO TIP: This article is out of date and may not be accurate for current versions of WooCommerce.
[product_description id=”123″]

Replace “123” with the ID of the product whose description you want to display.

The “[product_description] shortcode” is a great way to display a product’s description on your website. You can use it to output the description for a specific product, or you can use it to output the description for the product that is currently being viewed.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.