• Resolved babavemwana

    (@babavemwana)


    How can I disable the Terms and Conditions Pop-Up extension in WooCommerce so that the Terms and Conditions link can be clicked and open on a new tab or window?

    Thank you

Viewing 1 replies (of 1 total)
  • madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @babavemwana,

    Terms & Conditions popup is enabled by default on all sites running WooCommerce 3.1 or newer, and there’s no option in the settings to disable it.

    If you’d really prefer to show the Terms & Conditions page in new tab / window instead, you can add the following JavaScript code in site footer:

    
    jQuery(document).ready(function( $ ){
    	$( document.body ).off( 'click', 'a.woocommerce-terms-and-conditions-link');
    });
    

    Please note that JavaScript code can’t be added in functions.php file like most snippets – instead you can use Simple Custom CSS and JS and add it there.

    Cheers!

    • This reply was modified 6 years, 6 months ago by madeincosmos.
Viewing 1 replies (of 1 total)
  • The topic ‘Disable Terms and Conditions Pop-Up extension’ is closed to new replies.