Hey there guys I’m developing for www.911quotes.com and on our single products page we would like to show the attributes description under the checkout button.

Any help on how to get this done would be great. I have been searching and searching. We are using WooCommerce and I can’t seem to figure this one out.


Solution:

// Hook below Add to Cart Button
add_action( 'woocommerce_after_add_to_cart_button', 'pgwp_woocommerce_after_add_to_cart_button');
function pgwp_woocommerce_after_add_to_cart_button () {
    echo '<div id="msg-after-add-button" style="clear:both"><p>Hello World!</p></div>';
}

Related Wordpress search:

, , , , , ,

Wordpress related questions and answers: