1. Home
  2. Documentation
  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

Please note that this page is aimed at developers and if you don’t know how to use it then you should ask your developer. If you don’t have one, we recommend posting a job on Codeable. We have partnered with them to provide plugin customizations for our customers.

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' );

WordPress plugin customizations service

Was this article helpful?

Related Articles