woocommerce相关产品 - 价格后添加“高级自定义字段”按钮

i need to add an extra button on every related product under the price. Like the add-to-cart button from woocommerce, but i need this specific

<span class="button" title="<?php the_field('ACFfield'); ?>">Buy me</span>

version with the "advanced custom field" plugin.

I have a child theme and have already added the content-product.php and woocommerce/single-product/related.php

also i have deleted the add-to-cart button with overwriting the woocommerce/loop/add-to-cart.php and deleting everthing in it.

So on the content-product.php are only the do_action things and i don't know how to add my above code.

Can someone please please help :) Would be awesome!

best regards

edit: I have done more research and mixed two things. However it does not work (I have very low php knowledge)

add_action( 'woocommerce_after_shop_loop_item_title', 'ins_woocommerce_product_excerpt', 35, 2);  

if (!function_exists('ins_woocommerce_product_excerpt'))
{
function ins_woocommerce_product_excerpt() {
global $post;
if ( is_product() ) {
echo '<span class="button" title="' . esc_html(get_field('ACFfield')) . '">Buyme</div> '; 
}
}
}