Home Forums Trusted Pro Related Products in Shop Options

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3464
    Jan Gundersen
    Participant

    How can I turn off Related Products in Shop Options, so it does not show at the product page?

    //Jan

    #3465
    Yazmin
    Keymaster

    Hi Jan

    There are a couple of ways to remove related products.

    1. Add the following PHP code to the functions.php file of a child theme
      remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );
      this is the “correct” way to remove related products from the template

    2. Add the following CSS in Customize > Additional CSS
      .woocommerce .related.products{
          display: none;
      }

      this will not remove the related products, only hides the section from view

    If you can wait couple of days, I’ll see if we can add this as an option to the theme.

    #3490
    Jan Gundersen
    Participant

    Thank you!!

    //Jan

    #3499
    Yazmin
    Keymaster

    Trusted Pro now makes it easier to remove the WooCommerce Related Products section from single product pages.

    Update to Trusted Pro 1.1.7, navigate to Customize > Shop Options and check the box next to ‘Remove Related Products’.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Related Products in Shop Options’ is closed to new replies.