Related products on product pages but NOT on cart page

This topic has 3 replies, 2 voices, and was last updated 3 years ago ago by Martine

  • Avatar: Martine
    Martine
    Participant
    November 25, 2021 at 08:55

    Hi!

    Is it possible to NOT show the related products on the cart page? I would like to show them only on the productpages but not on cart page. Is there a setting to fix this?

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 25, 2021 at 09:09

    Hello,

    Please read this article – https://woocommerce.com/document/related-products-up-sells-and-cross-sells/
    You can remove cross-sell from the settings of products or hide the section using custom CSS or PHP code.
    Here is an example of CSS:

    .woocommerce-cart .cross-sell-products,
    .woocommerce-cart .cross-sell-products-title {
        display: none;
    }

    Regards

    Avatar: Martine
    Martine
    Participant
    November 25, 2021 at 09:46

    Great! Thankyou!

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Related products on product pages but NOT on cart page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.