OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Registering Configurator in DI Container

This topic contains 2 replies, has 2 voices, and was last updated by  nellybaz10 5 years, 5 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
  • #37580

    nellybaz10
    Participant

    Hello,
    I was going through the documentation and trying to update storefront layout. I understood everything till this point of registering configurator
    My question is, where exactly should I register the configurator? In my created bundle of elsewhere.Where should I put the code below?

    Please, I would appreciate more explained answers.
    Thanks in advance

    To enable our context configurator, we have to register it in the DI container with the layout.context_configurator tag:

    • This topic was modified 5 years, 5 months ago by  nellybaz10.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #37583

    Andrey Yatsenko
    Moderator

    The easiest way will be put it to app/config/config.yml

    or at services.yml in your bundle at Resources/config/ folder.

    To get more details on how to define the service, please read this article
    https://symfony.com/doc/2.8/service_container.html#creating-configuring-services-in-the-container

    #37584

    nellybaz10
    Participant

    Thank you Andrey for your swift response

    • This reply was modified 5 years, 5 months ago by  nellybaz10.
Viewing 2 replies - 1 through 2 (of 2 total)

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

Back to top