1. Home
  2. Knowledge Base
  3. WooCommerce Product Table
  4. Advanced Usage
  5. Opening the product pages in a new tab from the product table

Opening the product pages in a new tab from the product table

By default, WooCommerce Product Table will open any links to the individual product pages in the same tab or window. If you would like these links to open in a new tab/window, you can use the following filter. Add this code to your theme or child theme’s functions.php file:

add_filter( 'wc_product_table_open_products_in_new_tab', '__return_true' );

Was this article helpful?

Related Articles