php - Bulk import products into Woocommerce using WP WC CLI

one text

Solution:

Did some digging it looks like this can be done through a bash script through wp-cli via the wp wc product create command and then running it through the read -r command see the link below for more details https://remicorson.com/bulk-import-woocommerce-products-with-wp-cli-the-and-alfred/ for the .csv file it may be better to create a python script to deal with the logic/columns of the csv file through a libary to make products easier to import and then adjust the params for the product create command as needed via something like sys argv

hope this helps

Source