I want to display product attributes label in exported csv file from backend file.Currently it display product attributes code in exported csv file.


1 Answer 1


You can override the getCsvFile function in Magento\Ui\Model\Export\ConvertToCsv to handle exporting csv files

<preference for=""Magento\Ui\Model\Export\ConvertToCsv"" type=""Name\Module\Model\Export\ConvertToCsv"" />

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.