you can try the action woocommerce_before_single_variation
add_action("woocommerce_before_single_variation", function () {
// the product is in the variable $GLOBALS["product"]
?>
<strong>
<?php echo $GLOBALS["product"]->get_name();?>
</strong>
<?php
});