Hello,
You need to edit woocommerce/content-product.php and woocommerce/content-single-product.php files. Regard more https://codex.wordpress.org/Child_Themes
Regards