I have Create custom CSV import functionally. But How to check which row data is blank and i want to show error like :- Required field is empty in row(s). So Please help me how to check which row is blank in import CSV.


1 Answer 1


You need to create import.xml file and handle all validation logic in php file You can refer to this article https://magecomp.com/blog/import-csv-file-to-custom-table-magento-2/

Your Answer

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

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