I need to generate custom order attribute dynamically, I have gone through all the core module of magento 2 and try to understand the working of attributes for products and customers, but got no clue to generate attributes in the same manner as products and customers in eav_attribute table.

I got some articles on generating attributes for order but those are not satisfactory , as they are suggesting to add a custom column in sales_order table.

Magento2 Adding Custom Order Attribute

What if I want to generate multiple order attributes?


  • what you are after is defined as extension attribute in magento2 laned
    – Anton S
    Dec 14 '17 at 12:31
  • @AntonS, not understand what you want to say?
    – amit_game
    Dec 15 '17 at 3:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.