A simple, powerful and independent e-commerce platform.
Sell anything with ease.

Remove related products section

Related products are not always required and can be removed with this code snippet.

		/**
 * Remove related products output
 */

add_action('init', 'cc_remove_related_products');

function cc_remove_related_products() {

  remove_action('woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20);

}
	
View Raw Code ID: 91135