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? Jul 18, 2018 at 8:35
  • Hello @RutveeSojitra I want to import simple products
    – Dx7
    Jul 19, 2018 at 10:37
  • In product import section you will get sample file for upload Jul 19, 2018 at 11:00
  • did you find a solution for this?
    – SebastianT
    Dec 23, 2019 at 9:34

1 Answer 1


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, 2018 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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