Open Woocommerce Terms and Conditions link in new tab on checkout page

$(".woocommerce-checkout").on( 'click', 'a.woocommerce-terms-and-conditions-link', function(event) {
	let TermsPageLink = "https://example.com/terms-and-conditions/";
	window.open(TermsPageLink, '_blank');
	return false;
Need a helping hand in fixing your website issues?

If you are facing any problems in implementing these code snippets and tutorials, you can hire us to fix your website issues.

Hire Us