1. Home
  2. Knowledge Base
  3. WooCommerce Product Table
  4. Advanced Usage
  5. How to open the single product page in a new tab from the product table

How to open the single product page in a new tab from the product table

By default, WooCommerce Product Table will open any links to the product detail pages in the same tab or window. If you would like these links to open in a new tab/window, then 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