Support » Plugin: WooCommerce » Export Returns Empty CSV File

  • Resolved Dyers2

    (@dyers2)


    I’m trying to create an export CSV file using the WooCommerce native importer/exporter. I set form fields to include all fields, all products, and all custom meta data. There are approximately 1,500 products. Several minutes elapse while the file is created, and a graphical progress meter displays. A file is created and placed in the desired directory. It is 0 bites and obviously contains no data. What might I be doing wrongly?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Doug – a11n

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @dyers2

    > A file is created and placed in the desired directory

    Using the core Exporter, the csv file will save on your machine. In Firefox for me this will automatically download into my Downloads folder, in Chrome I can choose which folder to save to.

    If you go through these instructions and leave everything as default, do you get the file download? https://docs.woocommerce.com/document/product-csv-importer-exporter/#section-6

    If nothing happens, it could be that your server cannot handle the request, can you try with only Simple Products?

    Let me know how you get on!

    Thanks,

    Thread Starter Dyers2

    (@dyers2)

    Hi Doug,

    Thanks for your response. I’m getting the file download, but even when I leave everything as default, the file I get is 0KB and has no content.

    Plugin Support Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    Hi there!

    If you cut down the amount of products, just to simple products for example, does it work?

    It sounds like your server it timing out or something else is preventing that amount of data being downloaded. You might need to split it up to get the export in parts instead.

    Please let us know, thanks!

    Plugin Support Hannah S.L. a11n

    (@fernashes)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    I am having the same problem, I tried to cut down the product list to simple products only but I still get an empty CSV file.

    Few config details on my site:

    .htaccess
    php_value memory_limit 256M
    php_value max_execution_time 300
    php_value max_input_time 300

    php.ini
    memory_limit = 256M
    file_uploads = On
    max_execution_time = 300

    wp-config
    define(‘WP_MEMORY_LIMIT’, ‘256M’);

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Export Returns Empty CSV File’ is closed to new replies.