• Resolved lauracgeorge

    (@lauracgeorge)


    I’ve removed all the choices for “related products”, upsells, and cross-sells in every product I have on my site (I don’t like the way they format so gigantically, distracting the potential customer with shiny new things to look at, and distorting my pictures). Yet, two related products still show up at the bottom of each product page. Is there a line of code I could remove or something to get these to stop showing up?

    https://www.ads-software.com/extend/plugins/woocommerce/

Viewing 2 replies - 16 through 17 (of 17 total)
  • Plugin Support Praveen a11n

    (@spraveenitpro)

    Automattic Happiness Engineer

    What does the 20 stand for in :

    remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20);

    Hey, the 20 stands for the order in which the function is fired. Check this link <a href="https://www.kathyisawesome.com/412/thematic-hooks-and-functions/">php Basics</a> Kathy does a good job of explaining things.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Remove "Related Products" from bottom of product pages’ is closed to new replies.