sylius_twig_hooks:
    hooks:
        'sylius_admin.catalog_promotion.show.content':
            sections:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.header.title_block':
            title:
                template: '@SyliusAdmin/catalog_promotion/show/content/header/title_block/title.html.twig'
                priority: 100
            actions:
                template: '@SyliusAdmin/catalog_promotion/show/content/header/title_block/actions.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.header.title_block.actions':
            edit:
                template: '@SyliusAdmin/shared/crud/show/content/header/title_block/actions/edit.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections#left':
            general:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general.html.twig'
                priority: 100
            translations:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/translations.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections#right':
            scopes:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/scopes.html.twig'
                priority: 100
            actions:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/actions.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.general':
            code:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/code.html.twig'
                priority: 800
            name:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/name.html.twig'
                priority: 700
            enabled:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/enabled.html.twig'
                priority: 600
            state:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/state.html.twig'
                priority: 500
            exclusive:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/exclusive.html.twig'
                priority: 400
            start_date:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/start_date.html.twig'
                priority: 300
            end_date:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/end_date.html.twig'
                priority: 200
            priority:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/priority.html.twig'
                priority: 100
            channels:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/general/channels.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.translations':
            label:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/translations/label.html.twig'
                priority: 100
            description:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/translations/description.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.scopes':
            scope:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/scopes/scope.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.scopes.scope#for_products':
            type:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/scopes/scope/type.html.twig'
                configuration:
                    type_label: 'sylius.ui.for_products'
                priority: 100
            products:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/scopes/scope/list.html.twig'
                configuration: 
                    label: 'sylius.ui.products'
                    items_key: 'products'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.scopes.scope#for_taxons':
            type:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/scopes/scope/type.html.twig'
                configuration:
                    type_label: 'sylius.ui.for_taxons'
                priority: 100
            taxons:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/scopes/scope/list.html.twig'
                configuration:
                    label: 'sylius.ui.taxons'
                    items_key: 'taxons'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.scopes.scope#for_variants':
            type:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/scopes/scope/type.html.twig'
                configuration:
                    type_label: 'sylius.ui.for_variants'
                priority: 100
            variants:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/scopes/scope/list.html.twig'
                configuration:
                    label: 'sylius.ui.variants'
                    items_key: 'variants'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.actions':
            action:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/actions/action.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.actions.action#percentage_discount':
            type:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/actions/action/type.html.twig'
                configuration:
                    type_label: 'sylius.ui.percentage_discount'
                priority: 100
            amount:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/actions/action/amount.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.show.content.sections.actions.action#fixed_discount':
            type:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/actions/action/type.html.twig'
                configuration:
                    type_label: 'sylius.ui.fixed_discount'
                priority: 100
            channels_amount:
                template: '@SyliusAdmin/catalog_promotion/show/content/sections/actions/action/channels_amount.html.twig'
                priority: 0
