Disabling shopping basket in WooCommerce [closed]

The shopping cart is a main structure of the WooCommerce checkout process and cannot be completely disabled.

As there is no exact solution, the best way to do what you want, in my opinion, is go to WooCommerce Settings -> Checkout and remove the selected page for the cart. This way, there will be no front-end for the cart whatsoever, although selected products will be saved in the cart structure (the system needs to know what to charge during the checkout).

Combine this with your redirection function, edit the templates for the cart-related messages (so that the go to cart buttons take you to the checkout page) or remove them completely) and you’re as close to disabling the cart as humanly possible.