How to remove Related Products from Hestia

If you want to remove the related products in the Hestia theme, then add the following code to the functions.php file of your child theme. 

For downloading a ready-made child theme for Hestia we recommend following our guide, How to create a child theme for Hestia.

function remove_related_products() {
	add_filter('woocommerce_product_related_posts_query', '__return_empty_array', 20);
}
add_action( 'after_setup_theme', 'remove_related_products' );

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.

Still need help? Contact Us Contact Us