In this guide, we show you how you can display custom content between the short description and add to cart button. Sure, you could just add additional content to the short description meta box, but his guide shows you how you can add custom content globally, across all products with just one snippet. This is a great way to output messages to influence the customer to buy, messages like “in high demand” or “sale ends soon”. Output literally any content you like with this snippet.
/**
* Snippet Name: WooCommerce Show Custom Content Between Short Description And Add To Cart Form
* Snippet Author: ecommercehints.com
*/
function ecommercehints_show_custom_content_below_product_meta() {
echo "Custom content here!";
};
add_action( 'woocommerce_before_add_to_cart_form', 'ecommercehints_show_custom_content_below_product_meta', 10 );