Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

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

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: How to override parts of oro #36980

    daniel.coelho
    Participant

    Hi msulima,

    Thanks for your answer.
    Initially I thought about the decoration approach but the think is that I want to add logic on “prepareItemsData” method. That’s why tried to replace the service.

    in reply to: How to override parts of oro #36976

    daniel.coelho
    Participant

    Hi Mike,

    I’m trying to replace a service using the first option you’ve suggested. It looks simple but somehow I cannot get it work. This is the service I’m trying to replace:

    So, I created a “parameters.yml” file on “MyVendor\Bundle\MyBundle\Resources\config” with the following definition:

    Then, registered it with:

    Unfortunately it always use the original service and ignores mine.
    Any hint?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Back to top