0

I want to import a category programmatically in magento2 using CSV file, CSV contains only one column like Category Name >> Women, Men So How to create it ? Please explain me if anybody knows.

Thanks.

7
  • Visit here magento.stackexchange.com/a/134916/48571 – Dinesh Yadav Oct 13 '17 at 10:57
  • But i want import category name through csv file only.... – Mahi M Oct 13 '17 at 11:08
  • Yes but if you have only one column than you can copy the names in array and create categories using above link. – Dinesh Yadav Oct 13 '17 at 11:16
  • Actually i'm run this code but created categories not visible in abmin panel – Mahi M Oct 13 '17 at 11:53
  • I have tested it. It's working perfectly. Please check your store id and website id. – Dinesh Yadav Oct 13 '17 at 12:02

Your Answer

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

Browse other questions tagged or ask your own question.