diff --git a/tests/Application/app/config/fixtures.yml b/tests/Application/app/config/fixtures.yml index 411017ffa..e0fbbbf01 100644 --- a/tests/Application/app/config/fixtures.yml +++ b/tests/Application/app/config/fixtures.yml @@ -75,7 +75,9 @@ sylius_fixtures: translations: en_US: content: | -
+With this feature, you can render any block you want on the product page, like size table, delivery information, or even promotion banner.
It's done with a simple controller render:
{{ render(path('bitbag_shop_block_index_by_section_code', {'sectionCode' : 'products', 'template' : '@BitBagCmsPlugin/Shop/Block/index.html.twig'})) }}@@ -102,15 +104,14 @@ sylius_fixtures: content: |
- The left block is being rendered with the usage of the special controller like this: + The left block is rendered with the usage of the particular controller like this:
{{ render(path('bitbag_shop_block_render', {'code' : 'homepage_header_image'})) }}
- It also can take template as a parameter, but it's optional. In this case, it works exactly the same as below Twig functions. - Sometimes you might want the block to be rendered in a different template, that's where the controller is useful -
+ It also can take template as a parameter, but it's optional. In this case, it works the same as below Twig functions. Sometimes you might want the block to render in a different template, that's where the controller is useful. +The other three blocks, including this one you are reading right now, are using Twig helper method.