WooCommerce Images not importing!!!

Hey Everyone, I have a WordPress site using WooCommerce to manage 300+ products. I am now trying to export and import them onto another fresh WordPress website with WooCommerce installed and the products are importing but the images are not importing over!!! Has anyone had this issue or know how to resolve it….even through using another plugin? Thanks

  • Alexander
    • DEV MAN’s Mascot

    Hi there @verticalmail,

    Would you mind letting me know the steps you used to export and import? I’ve looked into this, and there are a few different ways. If you could let me know the steps you’re taking, I could help you get this figured out.

    Thanks for being a WPMU DEV member. Let us know if we can be of any further assistance.

    Best regards,

  • verticalmail
    • Flash Drive

    Hello Alexander, I just took the normal steps of going to the WordPress Export section under tools (Yes, I do have the standard wordpress importer/exporter installed) and then I selected the products checkbox and clicked Export and saved the export file (xml file) to a folder on my computer. Then I went to the fresh WordPress website (that also has the WordPress Importer and WooCommerce installed and activated`) and I went to the Import menu under Tools and imported the xml products file into the website and it asks me who I want to assign the roles to and then it imported all the products (as it should), but without any images at all.

  • Alexander
    • DEV MAN’s Mascot

    @verticalmail,

    When using the default WordPress import/export, the images don’t come with the export xml file, rather it includes a link to the images, so they can be downloaded during the import.

    Is the old site still online? If so, you can run the import again, but just make sure you have the “download images” checkbox selected.

    Let me know how it goes.

    Best regards

  • Alexander
    • DEV MAN’s Mascot

    @verticalmail,

    The image downloads happen during the import process. When you export the products, the URLs to the images are stored in the XML backup file.

    After you choose the XML backup file, and click “upload file and import”, you’ll be on a screen where you have the option to select a user. There’s also a checkbox at the bottom called “Download and import file attachments” This is what I was referring to earlier.

    When that checkbox is enabled, it will use the URLs stored earlier to download all of the images from the old site.

    Best regards

  • Superhero 62
    • Deleted User

    Are the images being imported to the local media library to the very same path? Sadly the import doesn’t work for me either. Although we checked “Download and import file attachments”.

    Featured images are not being imported at all and embedded images inside the post content link to the old blog.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.