Woocommerce Covid-19 message on checkout page

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

woocommerce checkout covid-19

woocoomemrce covid-19 shipping message on check out page

copy this code in function.php of your template folder.