Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1797284
remove related products
Closed

Comments

  • dj-network started the conversation

    Hi, 

    how can we remove the related product zone? ("you may be interested in" zone)

    Thank You

  •  7,095
    Oliver replied

    Hi,

    Add this code to the functions.php of the child theme:

    function thegem_remove_related_products(){    
    remove_action('thegem_woocommerce_after_single_product', 'woocommerce_output_related_products', 5);
    }
    add_action('init', 'thegem_remove_related_products', 5);

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • dj-network replied

    Thank you, it works ^^

  •  7,095
    Oliver replied

    Welcome!


    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver