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 you have read our privacy policy.

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