Display Content Above Add to Cart on Single Product Page

If you need to add content above the Add to Cart button on WooCommerce single product page. Needless to say, this will increase your click-through rate and sales conversion rate. So how should this be done? Again, this is simple. Just copy / paste the following code snippets into your functions.php template file:

add_action( 'woocommerce_single_product_summary', 'codeithub_show_return_policy', 20 );
function codeithub_show_return_policy() {
    echo '<p class="rtrn">Display Content Above Add to Cart om Single Product Page</p>';


See also  Add Text Under Each Product on Shop Page
Single Product Page


Content Above Button

Leave a Reply

Your email address will not be published. Required fields are marked *