I have 2 different CSV files 1st has orders and 2nd have order details. I am trying to insert data into magento2 DB using Magento Models. so that my data will insert into all different tables and will also show on the Admin side.

Right now I have inserted data in DB but the data is just inserted into sales_order table, all the other tables related to orders are empty, that's why order's data is not showing on the Admin side.

Need some serious help

  • mageplaza.com/devdocs/… – Rk Rathod Apr 18 at 11:55
  • Specify the code which you have try? and also does it show any error on screen? – Dhiren Vasoya Apr 18 at 12:28
  • no it's working fine, and inserting the orders data in Sales_order table, but Magento uses EAV system, that's why I have to insert data according to that method, which I don't know. – Farhan Ali Apr 18 at 13:09

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.