I want to redirect from shopify default cart to the mainpage

Hello,

I have a problem right now that I’m having difficulties trying to solve it. So I have a cart app installed “Slide Cart Drawer - Cart Upsell” and it’s working fine. But the problem is, that in some instances, from checkout or product recommendations I get redirected to the legacy/standard shopify cart (websitename.com/cart)

The thing is, I want that cart page to redirect to the main page of my website. But shopify won’t allow me to do that from the URL redirect options because my legacy cart isn’t considered a 404 error page.

Maybe there’s a way to disable my legacy shopify cart while maintaining my cart app fully operational?

Sorry for my bad english, and thanks in advance.