How to import products with your image and categories from a .csv? I'm using the script:

Magento 2 import new and update current products with a CSV file and cron job

But I do not work the images or the categories of the product. Is there a template I can get? Or is there a guide I can follow to do it?


  • which type of product you want to import? – Rutvee Sojitra Jul 18 '18 at 8:35
  • Hello @RutveeSojitra I want to import simple products – Dx7 Jul 19 '18 at 10:37
  • In product import section you will get sample file for upload – Rutvee Sojitra Jul 19 '18 at 11:00
  • did you find a solution for this? – SebastianT Dec 23 '19 at 9:34

For product import you will find download sample file: see in attach image enter image description here

Please put in category filed your product category and before import product put your image at pub/media/import path

  • Thanks @RutveeSojitra, but that does not solve my doubt. I have my file with the products, what I want to modify is the import script with a cron task to automate it without having to enter the backend, the script reads the products from a .csv file but only adds them in the home category. – Dx7 Jul 19 '18 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.