1. Home
  2. Knowledge Base
  3. WooCommerce Product Table
  4. Advanced Usage
  5. Adding product tables to the main WooCommerce shop page

Adding product tables to the main WooCommerce shop page

While WooCommerce Product Table is primarily designed to be used on standard WordPress pages, it can also be used on the main WooCommerce shop page by overwriting the relevant template in your theme. If you do this then the product table layout will be used whenever customers visit the main shop page, instead of the usual store layout.

If it doesn’t already exist, create a folder called “woocommerce” in your theme or child theme. See here for details: https://docs.woocommerce.com/document/template-structure.

Next, download ‘archive-product.php‘ by clicking the link and save it into the ‘woocommerce’ folder. On line 55, you will see the [product_table] shortcode which is used to display the product table. Edit the shortcode to suit your requirements (e.g. choosing your columns, setting search filters, etc. – please see our article on Creating Product Tables for instructions).

Was this article helpful?

Related Articles