Hello Coders,
Many of you trying to give message on woocommerce checkout site so check this snippet to disable checkout button on woocoomerce till user agree on covid-19 shipment condition.
Like this
woocoomemrce covid-19 shipping message on check out page
copy this code in function.php of your template folder.