ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 6 replies, has 3 voices, and was last updated by  Alexandr Smaga 2 years, 11 months ago.

  • Creator
    Topic
  • #3691

    ZOTTIG
    Participant

    I need to add a field to orocrm_magento_order, but it “IS EXTEND = NO”.
    How can I do this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #3703
    Dima Soroka
    Dima Soroka
    Oro Core

    Thanks for this request, we’ll convert all Magento related entities into extended ones in the next release.

    #3707

    ZOTTIG
    Participant

    But I need not standard field Magenta. How can I add a field?

    I tried to make migration

    oro:migration:load

    But after schema:update , all my fields in the database are lost.

    And I can not display my field on the screen.

    #3713

    Alexandr Smaga
    Participant

    Hello.

    Schema update command makes changes based on entity metadata. So you have to add it via migration script and also to add it to metadata. It could be done via event listener, but doctrine hasn’t clean way how to override entities 🙁

    #3717

    ZOTTIG
    Participant

    Hello!
    How can I add a field? How to do it right?

    #3725
    Dima Soroka
    Dima Soroka
    Oro Core

    As for now you can consider inheritance or additional entity with 1:1 relation. OroExtendedEntity was implemented to solve this issue and we’ll apply it to Magento related entities.

    #4206

    Alexandr Smaga
    Participant

    Hello. This improvement will be included in next release, so you will be able to add fields via config/UI.

    Thanks for your interest.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.