Reply 191531 to: Woocommerce templates

Avatar: Rose Tyler
Rose Tyler
Support staff
April 19, 2018 at 13:34

Here is an example of code that should be added in functions.php file of child theme:

add_action('woocommerce_single_product_summary', 'et_custom_meta_content', 50);
function et_custom_meta_content () {
	global $post;
	echo $post->ID; // show here your custom field content instead of this 
}

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.