• Resolved Stephen Hamilton

    (@pipiestudios)


    I’m working on a new site for a client and they wanted to make sure all of their products were updated on the staging site. So I deleted all of the products on the staging site. On the live site, I exported all the products using Woocommerce. I then imported the products through the CSV file in Woocommerce. It was a long process importing over 1200 products.

    The products work great and have their respective categories. When I go to woocommerce – products – product categories = it’s empty. There are no categories. So how do the products have categories, but Woocommerce doesn’t recognize them?

    I’m assuming it’s an issue with the database. Is there an easy fix for this?

    The product category page says this: There has been a critical error on this website. Please check your site admin email inbox for instructions.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Stephen Hamilton

    (@pipiestudios)

    This is the debug information:
    Fatal error: Uncaught Error: Call to undefined function ph_e() in /www/wp-content/themes/shopkeeper-child/functions.php:1222 Stack trace: #0 /wordpress/wp-includes/class-wp-hook.php(307): text_domain_taxonomy_add_new_meta_field('product_cat') #1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #2 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /wordpress/wp-admin/edit-tags.php(544): do_action('product_cat_add...', 'product_cat') #4 {main} thrown in /www/wp-content/themes/shopkeeper-child/functions.php on line 1222

    Plugin Support Paulo P – a11n

    (@paulostp)

    Hello,

    Thanks for reaching out!

    Can you please try changing your staging site to the Storefront theme and disable all plugins except WooCommerce? I see there are some errors with your Shopkeeper theme there and some plugin errors in the frontend, so it’s better to take these elements out of the equation while we troubleshoot the product categories issue.

    Let us know how it goes.

    Thread Starter Stephen Hamilton

    (@pipiestudios)

    Thanks Paulo!

    You were right – when I changed the theme the product categories started showing. I figured out my custom child theme had some code in the functions.php I needed to comment out. Now they show correctly.

    Thanks again!

    @pipiestudios

    Glad to hear it – thanks for letting us know!

    If you have any further questions, I recommend creating a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No product categories after importing woocommerce products’ is closed to new replies.