How to display Woocommerce category description

the_archive_description() worked for my purposes when other (more complicated) solutions would not.

Optional before and after string parameters can be added if needed.


$args = array( 'taxonomy' => 'product_cat' );
$terms = get_terms('product_cat', $args);

$count = count($terms); 
if ($count > 0) {

   foreach ($terms as $term) {
        echo $term->description;
   }
}

Edit for Last answer:

<?php
global $post;
$args  = array(
    'taxonomy' => 'product_cat'
);
$terms = wp_get_post_terms($post->ID, 'product_cat', $args);

$count = count($terms);
if ($count > 0) {

    foreach ($terms as $term) {
        echo '<div style="direction:rtl;">';
        echo $term->description;
        echo '</div>';

    }
}