Home / Blog / Web Development

Web Development

Fixing "Failed to Import product_cat / product_tag" in WordPress

Importing a theme's demo data and getting a long list of "Failed to import product_tag" errors? There is a simple cause and a quick fix.

In this article
  1. The problem
  2. Why it happens
  3. The solution
  4. Tips
  5. Frequently asked questions

While importing the demo data of a theme bought from ThemeForest, a long list of errors appeared, such as "Failed to import product_tag" and "Failed to import product_cat". The fix turned out to be simple.

Key takeaways

  • The errors appear when the import file contains WooCommerce data but WooCommerce is not active.
  • Install and activate WooCommerce, then run the import again.
  • Always install the plugins a theme requires before importing demo content.

The problem: failed imports

The importer printed dozens of failures, one per line. Typical lines looked like this:

Failed to import product_tag asymmetrical
Failed to import shop_order_status cancelled
Failed to import product_type simple
Failed to import product_cat Accessories

The log listed roughly 67 entries covering product tags, order statuses, product types and product categories.

Why this happens

The demo file contains WooCommerce-specific data: product_tag, product_cat, product_type and shop_order_status. If the WooCommerce plugin is not installed and active, WordPress does not know these taxonomies exist, so the importer cannot create them and reports a failure for each one.

The solution: install WooCommerce

  • Go to Plugins > Add New and search for WooCommerce.
  • Install and activate the plugin.
  • Run the import again.

After this, all tags, categories and product types imported successfully.

Tips to avoid import errors

  • Install every plugin the theme lists as required before importing.
  • Increase the PHP time and memory limits if the import stops part-way.
  • Take a backup before importing demo content.

If your WordPress or WooCommerce site needs expert help, see our web development services.

Frequently asked questions

Why does WordPress say "Failed to import product_cat"?

Because the WooCommerce plugin is not active, so WordPress does not recognise the product category taxonomy in the import file.

Do I need to delete the failed import first?

Usually not. Activate WooCommerce and run the import again. If you see duplicates, remove them afterwards.

The Ucodice Team is a group of passionate developers, designers and strategists delivering web, mobile and software solutions to clients worldwide.

Ready to take the next step?

Explore our web development services or tell us about your project. A senior member of our team will get back to you with clear next steps.

Let's start your project

Tell us what you want to build or grow. We'll reply within one business day with clear next steps.

Phone: 9560430495  ·  Email: contact@ucodice.com

Office: Ucodice Technologies, IHDP Business Park, Street Number 7, Sector 127, Noida, Uttar Pradesh 201304. Also serving Delhi NCR and clients worldwide.

Trusted and certified

  • Google PartnerCertified for Google Ads
  • Meta business PartnerCertified for Meta Ads
  • 4.3 / 5 on Google47 Google reviews
  • 4.9 / 5 on Freelancer.in245 reviews

Free consultation

Tell us about your project.

Get a free quote