Add A Button to WooCommerce Product Page
Please use the following code snippet. It’ll add a new button right after the add to cart button. The code is well commented, hope that’ll be helpful for you. add_action( ‘woocommerce_after_add_to_cart_button’, function() { /** * If you need product data here you can set $product as global * then you can easily access product data … Read more