By default, the WooCommerce Checkout page redirects you back to the (empty) Cart page in case there are no products in the Cart.
Now, there are times when you still need users to see the Checkout page and avoid this redirect. And thankfully, WooCommerce provides us with two filters that we can use to immediately disable this default behavior. Enjoy!
Checkout page by default redirects to the empty WooCommerce Cart page when no products are in the Cart
PHP Snippet: Avoid Checkout Redirect to Empty Cart