1. Home
  2. Documentation
  3. WooCommerce Product Table
  4. Troubleshooting
  5. My product table isn’t loading – I just see a shortcode or blank screen

My product table isn’t loading – I just see a shortcode or blank screen

There are several possible reasons why your WooCommerce product table may not load.

I can see the [product_table] shortcode on the page but it’s not displaying a product table

If the shortcode is appearing on the page but isn’t showing a product table then there’s almost certainly a problem with your license key. The product table will only load when you have a valid and active license key.

Go to WooCommerce > Settings > Products > Product Table and check whether your license key is successfully activated. See our article on license key problems.

If your license key is active then there may be an error with your shortcode. Check the syntax of your shortcode carefully against the documentation in the Getting Started section. Minor syntax errors (e.g. extra spaces, extra commas or missing colons) can cause problems.

I can just see a blank page

If you’re getting a blank page instead of a product table then this is probably caused by one of these issues:

Too many products

If you have 100’s or 1,000’s of products then this can cause performance issues and the table may not load. Try activating lazy load by adding lazy_load=”true” to the product table shortcode. This will load one page of products at a time, reducing the server load.

Are there JavaScript/AJAX errors in your theme or another plugin?

The product tables sometimes fail to load due to JavaScript or AJAX errors in the theme or another plugin. If the theme or other plugin causes an error then it can stop the JavaScript in WooCommerce Product Table from loading. You can test this by switching to a different theme (e.g. TwentySeventeen) and disabling all the plugins apart from WooCommerce and WooCommerce Product Table, and seeing whether the table loads.

If the table loads ok with everything else disabled then you will need to troubleshoot these issues in the theme or other plugin. You can usually see the error by visiting the page in Chrome, right-clicking on the area where the product table should be, clicking ‘Inspect Element’ and then going to the ‘Console’ tab. The error will be shown in red.

Some of our customers have fixed this problem by installing the free jQuery Updater plugin. Others need to contact the theme or plugin author to request a fix for the error.

If the table still doesn’t load with everything else disabled, please send us a support request.

403 – Forbidden errors: Server configuration problem

In Chrome, right-click on the area where the product table should be, click ‘Inspect Element’ and then go to the ‘Console’ tab. If you can see any ‘Failed to load resource: the server responded with a status of 403 (forbidden)’ then it means there’s probably a configuration error on your server that you need to fix.

A ‘403 – Forbidden’ error means that the user currently visiting the site doesn’t have the required permissions to access the file. This normally means that the file permissions haven’t been set correctly on the server for public access, so the product table isn’t being loaded.
To fix this problem, you need to contact your server or network support team and ask them to set the permissions for your website files to read access for the public group. This would normally be 755 for directories and 644 for files. You can read more about this in the WordPress Codex here.

The table is loading but there are no products/data in it

If you’re getting an empty table with no content then this is normally caused by an AJAX error or conflict in your theme. You can test this by switching to a different theme (e.g. TwentySeventeen) and seeing whether the table loads. If the table loads ok in another theme then you will need to troubleshoot these issues in your theme. If the table doesn’t load when you switch themes, please submit a support request.

Datatables error

If you can see an error relating to datatables then this is normally caused by an AJAX error or conflict in your theme. You can test this by switching to a different theme (e.g. TwentySeventeen) and seeing whether the table loads. If the table loads ok in another theme then you will need to troubleshoot these issues in your theme. If the table doesn’t load when you switch themes, please submit a support request.

Please see our separate article about this error.

Was this article helpful?

Related Articles