Alok Maheshwari
    Spectator
    Posts: 303
    February 3, 2015 at 12:09 am #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
    February 3, 2015 at 12:14 am #14643

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

    Alok Maheshwari
    Spectator
    Posts: 303
    February 3, 2015 at 12:19 am #14645
    urbanimpact
    Spectator
    Posts: 4
    February 9, 2015 at 6:57 pm #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!