OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Extend entities code is not working

This topic contains 2 replies, has 2 voices, and was last updated by  Andrey Yatsenko 3 years, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #41108


    I am trying to add a text field into contact bundle from my custom bundle by following this tutorial
    But no effect is showing neither in database nor in UI my code is in below.

    Then i am running this command in terminal but the field is not creating in database and also not in UI

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #41109


    Please ignore this line. I have forgot to remove this line before posting

    in // src/AppBundle/Migrations/Schema/v1_0/AddPartnerSinceToContact.php


    Andrey Yatsenko


    Migration is the only thing that you need, please remove custom Contact and ExtendContact classes, as Contact entity already exists in a core and custom property with accessors is generated automatically in the cache. After reverting the changes it’s required to restore the database from a backup that is done before changes or fully reinstall an application and re-run the migration with oro:platform:update command.

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

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top