Hi @danis44
You can try something like:
add_action( 'woocommerce_before_add_to_cart_form', 'my_pdf_field' );
function my_pdf_field() {
$pdf = get_field( 'pdf' );
#if we have data, show it
if( $pdf ){
echo '<a href="'.$pdf['url'].'">link</a>';
}
}
I’ve assumed the PDF field you’ve added is called pdf, it’s a file type and returns an array (not a URL)
Code is untested and goes in your functions.php file