diff --git a/docs/getting-started-with-sylius/shop-customizations.rst b/docs/getting-started-with-sylius/shop-customizations.rst index 0c1ed5c8e0..c478e2108f 100644 --- a/docs/getting-started-with-sylius/shop-customizations.rst +++ b/docs/getting-started-with-sylius/shop-customizations.rst @@ -24,8 +24,8 @@ Default logo in shop panel: The first step is to detect which template is responsible for displaying the logo and therefore which should be overridden to customize a logo image. -It's placed in **SyliusShopBundle**, at ``Resources/views/_header.html.twig.path``, so to override it, -you should create the ``templates/bundles/SyliusShopBundle/_header.html.twig`` file and copy the original file content. +It's placed in **SyliusShopBundle**, at ``Resources/views/Layout/Header/_logo.html.twig.path``, so to override it, +you should create the ``templates/bundles/SyliusShopBundle/Layout/Header/_logo.html.twig`` file and copy the original file content. Next, replace the ``img`` element source with a link to the logo or properly imported asset image (take a look at `Symfony assets documentation `_ for more info). @@ -38,18 +38,8 @@ At the end of customization, the overridden file would look similar to this: .. code-block:: twig -
-
-
- Logo -
-
- {{ sonata_block_render_event('sylius.shop.layout.header') }} -
-
- {{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/_widget.html.twig'})) }} -
-
+
+ Logo
A custom logo should now be displayed on the Shop panel header: