Enable archive override

Time required: 2 mins

Product Tables > Settings >  ‘Archive Override’ facility helps you conveniently replace WooCommerce product grids on archive pages with WCPT tables.

The plugin will automatically detect the category / attribute / tag for the current archive page and assign it to the table. Therefore, you can use a single table to populate hundreds of archive pages as long as they need the same table layout. If different archive pages need different table layouts, you can also individually assign tables based on specific categories / attributes / terms. You can see a basic demo here for this facility.

Note: If you are using a theme builder plugin like Elementor PRO or Beaver Builder to create your archive pages like shop / category, then you need to follow this guide instead.

In case the following instructions do not work on your theme, please contact support with your theme name to get a prompt solution.

Required steps

First, download the archive-product.php file from the list below. Use the ‘general’ file if your theme name is not in the list:

Method 1:

In your child theme folder, create a new folder called ‘woocommerce’ and paste your archive-product.php file there. If an archive-product.php file already exists in the folder, rename it to archive-product.original.php in case you need it later.

In case this method does not work, please try method 2 below which works better for some themes like ‘twentynineteen’:

Method 2:

Paste the archive-product.php file directly in your theme root folder. Do not create any woocommerce folder, unlike the previous method. If an archive-product.php file already exists in the folder, rename it to archive-product.original.php in case you need it later.


After you are done with method 1 / method 2, we need to choose a table for your shop page. Go to WP Dashboard > Product Tables > Settings > ‘Archive Override’. Then, select a table for ‘Shop override table’ and save your settings.

Now when you open your shop / archive pages such as product category / product attribute term, the products should appear in the selected WCPT table instead of the default grid.

That’s all! 😊


— Following are theme specific instructions —

Flatsome theme

Do not copy over the archive-product.php file for flatsome! Leave it as it is.

Instead, in your flatsome-child theme create a new folder called ‘woocommerce’, then a subfolder inside it called ‘layouts’. Now paste the following 4 files in ‘woocommerce > layouts’:

X theme

In your X child theme create a new folder called ‘framework’, then a subfolder in it called ‘views’, then 4 subfolders in it with the name of each X theme stack: ‘ethos’, ‘icon’, ‘integrity’ and ‘renew’. Now paste the corresponding file in each of these subfolders:

Uncode theme

In your Uncode child theme create a new folder called ‘woocommerce’, then paste the following files it:

Bridge theme

In your child theme paste this woocommerce.php file.

Motors theme

In your child theme paste this woocommerce.php file.

TheGem theme

In your child them paste this woocommerce.php file.

Total theme

In your child them paste this woocommerce.php file.

AccessPress Store theme

In your child theme go to the woocommerce folder, or create one if it does not exist, then paste this archive-product.php file in it.

ShoppingCart theme

In your child theme paste this woocommerce.php file.

Roseta theme

In your child theme paste this woocommerce.php file.

Harrier theme

In your child theme paste this woocommerce-page.php file.

XStore theme

In your child theme create a woocommerce folder and in it paste this archive-product.php file.

Also, to hide the ‘View switcher’ and ‘Products per page’ options above the archive table, please use this CSS:

.products-per-page,
.view-switcher  {
  display: none !important;
}

Customize Premium

In your child theme paste this woocommerce.php file.

WoodMart

In your child theme create a woocommerce folder and paste this archive-override.php file.