1. Home
  2. Knowledge Base
  3. WooCommerce Product Table
  4. Product Table Shortcode Options
  5. Product table links

Product table links

WooCommerce Product Table lets you choose what happens when someone clicks on an item in the table.

The links option controls which columns in the product table are formatted as hyperlinks or plain text. For example, if you are displaying product images in your table, then you can choose whether or not these can be clicked on to access the single product page.

By default, the following columns are formatted as links: skunamecategoriestags, attributes, any custom taxonomy, and image. Clicking on a category, tag, custom taxonomy term or attribute will filter the table for that value. (You can change this using the search on click option, below.) Clicking on an sku, name or image will take the user to the single product page.

WooCommerce product table default links

Product table with all clickable columns added to the table and formatted as links. (The default.)

You can control which columns are clickable by adding the links option to the product table shortcode:

  • Add links="all" to make all possible links in the table clickable.
  • Use links="none" or links="false" to disable all links. This is useful if you want to create a one-page order form or product catalog, with no way for customers to access the single product page.
  • You can also use any combination of the following keywords, as a comma-separated list:
    • id – The ID column (links to product page)
    • sku – The SKU column will be clickable (links to product page)
    • image – The image column (links to product page)
    • name – The product name column (links to product page)
    • categories – The categories column (links to category archive page)
    • tags – The tags column (links to tag archive page)
    • terms – Any custom taxonomy column (links to taxonomy archive page)
    • attributes – Any product attribute column (links to attribute archive page)


  • [product_table columns="image,name,att:colour,att:size" links="image,name,attributes"]
  • [product_table columns="sku,name,tax:my_taxonomy,price" links="sku,terms"]
  • [product_table columns="sku,image,name,categories,price" links="none"]

Search on click

By default, clicking on the categories and tags columns in the table will search (i.e. filter) the table by that category or tag. This is a quick way of filtering the table if you have lots of products.

You can disable this search_on_click feature so that when someone clicks on a category, tag, attribute or custom taxonomy term, then they will be taken to the relevant category/tag archive instead.

Example:  [product_table columns="name,categories,tags" search_on_click="false"]

Tip: This option will only work correctly if your theme includes archive pages for categories/tags/attributes/custom taxonomy terms.

Was this article helpful?

Related Articles