How to add a Back to cart button on the Woocommerce Checkout page

Do you want to display a “Back to Shopping Cart” button on the WooCommerce checkout page? You can use the woocommerce_before_checkout_form action hook to do this. Add this code in the function.php file of your active child theme (or theme) or also in any plugin file. Reference Link: Stackoverflow