New Landing How can we help? Atelier Remove Related Products section from products page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #194308
    JackMagic
    Member
    Post count: 36

    Hi there,

    Is it possible to remove the Related Products from the Products’ Pages?

    Thanks.

    #194344
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    .container.product-related-wrap {
      display: none;
    }

    – Kyle

    #285562
    nelga
    Member
    Post count: 31

    There’s a lot of replies on this forum that tell the OP to use ‘display:none’. Is it possible to edit this theme so that we can switch on/off sections like this properly?

    Surely this would increase performance rather than downloading everything and then just hiding it with CSS.

    #285573
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.

    remove_action( 'sf_after_single_product_reviews', 'woocommerce_output_related_products', 20 );

    Thanks
    Mohammad

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register