OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums OroCommerce Registering Configurator in DI Container

This topic contains 2 replies, has 2 voices, and was last updated by  nellybaz10 7 months, 1 week ago.

  • Creator
  • #37580


    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 7 months, 1 week ago by  nellybaz10.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #37583
    Andrey Yatsenko
    Andrey Yatsenko

    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



    Thank you Andrey for your swift response

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

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No