Join

Open WooCommerce Checkout Terms & Conditions In New Tab

Don't want to mess with code snippets? Request for this to be a feature of MyListing Pro.

Instructions

  1. Create a new PHP code snippet.
  2. Copy the contents of code snippet below.
  3. Paste the contents into your code snippet.
  4. Review any notes that I’ve provided.
  5. Save and enable the code snippet.
  6. Test.

Snippet

By default, WooCommerce will attempt to display your Terms & Conditions inline (i.e., on your Checkout page). Some people may prefer to open their terms in a new browser tab to ensure customers have a full view of the information they need to make educated decisions. That’s where this code snippet comes in.

function wp_turned_up_woocommerce_checkout_terms_and_conditions() {
  remove_action( 'woocommerce_checkout_terms_and_conditions', 'wc_terms_and_conditions_page_content', 30 );
}
add_action( 'wp', 'wp_turned_up_woocommerce_checkout_terms_and_conditions' );