This topic has 4 replies, 2 voices, and was last updated 5 years, 2 months ago ago by Rose Tyler
Hello,
I removed the “Email to a friend”-Button on single product page by adding this code to my childtheme’s functions.php:
remove_action( 'woocommerce_single_product_summary', 'et_email_btn', 36 );
After updating to Royal 6.0.0 or 6.0.1., the email buttons shows up again, although the action code is the same.
Could you please tell me how to remove this button again?
Many thanks in advance!
Hello,
Please change the previous code to:
add_action('wp', 'et_template_hooks_custom', 30);
function et_template_hooks_custom() {
remove_action( 'woocommerce_single_product_summary', 'et_email_btn', 36 );
}
Regards
Perfect, thank you!
You’re welcome!
Regards
The issue related to '‘Remove Email-Button’' has been successfully resolved, and the topic is now closed for further responses