Product Page

WooCommerce Show Custom Content Between Price And Short Description

WooCommerce custom content showing below price and above short description on single product page

Pre-Requisites

There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About This Solution

This snippet allows you to show custom content between the price and short description on the WooCommerce Single Product Template. You may wish to display some sort of guarantee, sale or promotion and this guide allows you to do just that. In fact, you can output any content you like with this snippet.

/**
 * Snippet Name:	WooCommerce Show Custom Content Between Price And Short Description
 * Snippet Author:	ecommercehints.com
 */

function ecommercehints_custom_content_below_price_above_short_description() {
	echo 'Custom content here!';
};
add_action( 'woocommerce_single_product_summary', 'ecommercehints_custom_content_below_price_above_short_description', 15 );

Snippet Benefits

  • Display any content you like between the price and short description on the WooCommerce single product template.

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 10% off on your first month with us.

26027
WELCOME OFFER