Have installed WooCommerce plugin and while trying to import sample data through CSV file, 'Sorry, this file type is not permitted for security reasons' message is displayed and file is not imported.
Support team says contact plugin provider as it is third party plugin.
Used WP Add Mime Types plugin also but no use.
Is there any solution for this ?
Honestly, the best fix for this would be exactly what the rep suggested. Reach out to the plugin creator and see if they have any fixes for this issue or if it has arisen in the past. They should be able to help you determine a path forward.
You may also want to check out other plugins that offer the same functionality if they're non-responsive.
WordPress itself won't allow the use of many file types due to the inherently easy way you can embed malware in them. These types of plugins circumvent that to add functionality to your installation but they can be kind of janky getting them to work correctly.
Once your issue is resolved,
please be sure to come back and click accept for the solution