I think you should jQuery to enable and disable the checkout button. Please try this script. Put this script in the footer.php .
Enable Ajax add to cart buttons on archives – Adds the 'Add to Cart' option to shop archive pages.
If a customer checks out and uses a different billing and shipping address, the
Your logic is a little off, try this: $('#check').change(function () { $('#btncheck').prop ("disabled", !this.checked); }).change(). Updated fiddle.
Use this to announce when the pre-order will be available by using
By the way, if you are looking a way how to change "Place order" button text, then I recommend this
Revised: Dec 2020 | Adding content to the WooCommerce Checkout page is very easy.
This short snippet will hide the WooCommerce checkout button until the terms
here is an example of code that will disable the "Place Order" button ... Once customer will confirm, the "Place Order" button will be enabled
If you have nothing there, only your "Place Order" button, read below how to turn these