• Resolved yperfre

    (@yperfre)


    Hello, im trying to remove the upsells.
    Im using functions added with a plugin.
    However I can′t find anything that works.
    I have tried the typical:
    remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_upsell_display’, 15 );
    without sucess.
    any clue?
    Thanks in advance
    PS: BTW, it messes the page content in terms of SEO, as the title for this section is an H2!

Viewing 1 replies (of 1 total)
  • Hi there @yperfre

    Thanks for your message!

    You can do this manually: If these are linked products in your site, you may remove these from Products> Linked products https://d.pr/ub7rTS

    We do not provide support for coding or customizations on the site as per our support policy.

    However I was able to find the following code on an external site, I would recommend to give this a try on a staging site so it does not affect your live website:

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 25 );

    I’m not quite sure about the plugin you are using for your functions file. Some plugins can break your website or parts of it. If there’s a conflict with the related products section, you can remove it.

    If you need additional assistance with customizations you can reach our team of experts on the following channels:

    https://www.facebook.com/groups/advanced.woocommerce/
    https://woocommerce.com/customizations

Viewing 1 replies (of 1 total)
  • The topic ‘Remove upsells on each product page’ is closed to new replies.