Alok Maheshwari
    Spectator
    Posts: 303
    03.02.2015 at 00:09 #14638

    Instead of editing the woocommerce-hooks.php file, if possible create a child theme and then add the following code in functions.php file

    function wc_remove_related_products( $args ) {
    return array();
    }
    add_filter('woocommerce_related_products_args','wc_remove_related_products', 10);

    urbanimpact
    Spectator
    Posts: 4
    03.02.2015 at 00:14 #14643

    I do not know how to create a child theme? I’m using godaddy to host…

    Alok Maheshwari
    Spectator
    Posts: 303
    03.02.2015 at 00:19 #14645
    urbanimpact
    Spectator
    Posts: 4
    09.02.2015 at 18:57 #14702

    When installing that child-theme plug-in, and copying the code from the link you posted, it made the entire website all wonky.

    I did some more digging and ended up just adding:

    .related.products { display: none; }

    at the bottom of the css for the entire theme and it worked. I’m not very good with code.

    Thank you for the help!