Hi @supplementgenie
Product Imports do not work with WordPress 5.0.1 and WooCommerce 3.5.x installed. This is a bug that is being worked-on: https://github.com/woocommerce/woocommerce/issues/22208
As a temporary workaround, please install this plugin: https://wordpress.com/plugins/disable-real-mime-check/ – which offers a temporary fix for this issue.
The temporary workaround doesn’t work. Can you give us more information?
Thanks
Hi @xavierartot,
Do you get the same (original) error when using the Disable Real Mime Check plugin? AKA – “Sorry, this file type is not permitted for security reasons.”
There is a second potential option, and that is to change the file type of your CSV to .txt. So if it were products.csv try products.txt
Also, if you have access to your host via FTP or some sort of file manager you can upload your CSV that way. Then tell our core importer where that file exists and to use that.
So when importing new products, you have the option to use an uploaded .csv file on your webspace. Login -> Products -> Import -> “Show advanced options” -> set the path to your .csv file (e.g. ‘wp-content/uploads/your-new-products.csv’) -> Press Continue
I got it working with the plugin, thanks
Hi @xavierartot.
Wonderful, I’m glad you did get it working with he plugin. Thank you for letting us know!
Hi @ryanr14!
Product Imports do not work with WordPress 5.0.3 and WooCommerce 3.5.5 installed.
Follow @ryanr14’s method. Now it working.
Thank you so much!
I have WordPress 5.1 and WooCommerce 3.5.6 but still get the “File type not permitted” error when trying to import csv files into WooCommerce products.
I contacted my host SiteGround who told me they have a lot of customers who experienced the same issue and they resolved the problem for them by using “define( ‘ALLOW_UNFILTERED_UPLOADS’, true );” within the wp-config.php.
Can I know whether users of other hosting providers also experience the same issue? Apparently WooCommerce.com/Automattic had marked the bug being fixed on their GitHub thread with WP version 5.0.3.