This topic has 3 replies, 2 voices, and was last updated 3 years ago ago by Martine
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?
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
Great! Thankyou!
Tagged: cart page, product pages, related products, themes, woocommerce, wordpress
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