Single Product – Hide Related Products

The Woocomerce single product page is very customizable and allows you to show and items certain page elements. If you want to keep the users focus completely on the product you can hide the Related Products element by using the snippet below:


* @snippet  Single Product - Hide Related Products
* @code     https://techskilled.co.uk/?post_type=kbe_knowledgebase&p=7163&preview=true
* @author   https://techskilled.co.uk
*/
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );


NEED HELP?

If you are struggling to implement the SVG snippet then we can help from £9.99 – use our contact form below and we will get straight back to you!

HELP ME IMPLEMENT THIS SNIPPET

Leave a comment

Shares