OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform Extend Product entity

This topic contains 1 reply, has 1 voice, and was last updated by  mlozynskyy 6 years, 10 months ago.

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

  • Creator
    Topic
  • #37033

    mlozynskyy
    Participant

    Hello,
    I need to extend Product Entity:

    Entity:

    After $product->getAttribute(), and collection init, a get an error:

    Could You help me?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #37034

    mlozynskyy
    Participant

    It is the bidirectional relation then we should add to our Entity class something like that:

    And getter, setter for it.

    After we can get all records from product object:

Viewing 1 replies (of 1 total)

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

Back to top