Display File Types For Woocommerce Downloadable Products On Product Page

Place the following code in your meta.php template file immediately after the lines where it prints the categories and tags. Please note, the standard practice is that you shall copy the meta.php template file to your theme folder. So to override meta.php, copy: woocommerce/templates/single-product/meta.php from plugin folder to yourtheme/woocommerce/templates/single-product/meta.php

<?php

global $product;

$downloads = $product->get_files();

foreach( $downloads as $key => $each_download ) {
  $info     = pathinfo($each_download["file"]);
  $ext      = $info['extension'];
  $formats .= $ext . ", ";
}

echo '<p> Formats: '. $formats .'</p>';

?>