Multisite. Import of goods from a CSV file.
-
Set up a multisite.
Woocommerce 5.9.0.
Created a couple of product elements on one of the sites.
I made the export of goods to a CSV file.
I import it right there. WP displays a warning “Sorry, this file type is not allowed for security reasons.” And does not even copy the CSV file to the directory with media files. Images when adding a new product are normally save in the directory with media files. Sites without multisite mode on the same hosting normally import this file.
Of course, you can try experimenting with WC_Product_CSV_Importer_Controller::is_file_valid_csv() (i.e., in any case, return the value that the file is correct) and see what happens. But I don’t think it’s a good option, if there are more safer ones. Tell me, please, maybe some administrative settings do not allow you to import the product? Or there are any other solutions to this problem.
- The topic ‘Multisite. Import of goods from a CSV file.’ is closed to new replies.