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 4 years, 6 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
  • #40544

    esakkiraj_s
    Participant

    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
    Replies
  • #40547

    Andrey Yatsenko
    Moderator

    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.

Back to top