Replace a long description with a short description in WooCommerce

In this image, you can see that by default WooCommerce display’s short description of the product. But what if your business requires a long description instead. Now let’s look into the simple snippet that may help you to do so.

Before applying snippet

Just give it a try to replace your product’s short description with a long description. Simply add this to your function.php file in the child theme.

remove_action('woocommerce_single_product_summary','woocommerce_template_single_excerpt', 20); 

add_action('woocommerce_single_product_summary', 'the_content', 20);
After applying snippet

Edit WooCommerce Products from Frontend

1 thought on “Replace a long description with a short description in WooCommerce”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top