add_shortcode( ‘product_description’, ‘display_product_description’ );
function display_product_description( $atts ){
$atts = shortcode_atts( array(
‘id’ => get_the_id(),
), $atts, ‘product_description’ );
global $product;
if ( ! is_a( $product, ‘WC_Product’) )
$product = wc_get_product($atts[‘id’]);
$text = $product->get_short_description();
$words = 30; // change word length
$more = ‘ […]’; // add a more cta
$woo_short_description = wp_trim_words( $text, $words, $more );
return $woo_short_description;
}