How to remove Related Products from Hestia

If you want to remove the related products in Hestia theme then add the following code to the functions.php file of your child theme. To create a child theme for Hestia we recommend you follow  How to create a child theme for Hestia documentation.

function remove_parent_theme_actions() {
	remove_action( 'woocommerce_after_single_product', 'woocommerce_output_related_products', 20 );
}
add_action( 'after_setup_theme', 'remove_parent_theme_actions' );

Save the changes and that's it.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.