I want to add some custom field like sku to add in order grid to export along with the order.

I follow this link Add custom product attribute to Order Grid to do this, but this didn't work in this Magento version.

How to achieve this?

1 Answer 1


The issue is with the code compilation and cache. Run command

php bin/magento setup:di:compile

php bin/magento cache:flush

and now my custom columns are showing in order grid and also export with other order data.

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.