OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce how to include shop frontend header and footer in my custom twig file

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 9 months, 2 weeks ago.

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

  • Creator
  • #40544


    i have created the custom frontend controller and twig file for the controller.how to include shopfrontend header and footer in twig file.

Viewing 1 replies (of 1 total)
  • Author
  • #40547
    Andrey Yatsenko
    Andrey Yatsenko

    For the extensibility and themes support, OroCommerce storefront is built using Layouts engine and it works a bit different way, you can’t just include a header and footer in another page. Instead, you have to use @Layout annotation to build a page. Take a look at the official documentation for more details https://oroinc.com/b2b-ecommerce/doc/current/dev-guide/front-ui/layouts

Viewing 1 replies (of 1 total)

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

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

Yes No