O
O
Outsider V.2020-06-18 14:20:32
Magento
Outsider V., 2020-06-18 14:20:32

What is the best way to update category attributes from CSV?

Magento 2, you need to write a module to import category attribute values ​​from a csv file. There are hundreds of entries.
I understand correctly that using repositories for this (doing a get, setting data and saving in a cycle) is wrong, because it is very slow? What approach should be used in this case? Take a resource model, get a table and update it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question