Использовать хук
woocommerce_after_shop_loop_item и метод
get_available_variations() у продукта, как то так:
function test() {
global $product;
if ($product->is_type('variable')) {
$current_variation_id = $product->get_variation_id();
$variations = $product->get_available_variations();
foreach ($variations as $variation) {
if ($current_variation_id === $variation['variation_id']) {
if (isset($variation['variation_description'])) {
echo $variation['variation_description'];
}
break;
}
}
}
}
add_action('woocommerce_after_shop_loop_item', 'test');