Skip to content

Commit

Permalink
Changes after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
mpysiak committed Nov 5, 2024
1 parent 00c6dd4 commit 8189cba
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 31 deletions.
26 changes: 1 addition & 25 deletions config/packages/_sylius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ imports:
- { resource: "@SyliusAdminBundle/Resources/config/app/config.yml" }
- { resource: "@SyliusShopBundle/Resources/config/app/config.yml" }
- { resource: "@SyliusApiBundle/Resources/config/app/config.yaml" }
- { resource: "@SyliusPayumBundle/Resources/config/app/config.yaml" }

parameters:
fixtures_dir: "%kernel.project_dir%/src/Resources/fixtures"
Expand All @@ -23,33 +24,8 @@ sylius_theme:
directories:
- "%kernel.project_dir%/themes"

sylius_ui:
# events:
# sylius.admin.login.form.content:
# blocks:
# test_credentials:
# template: 'Admin/Security/Login/testCredentials.html.twig'
# priority: 30

sylius_product:
resources:
product:
classes:
model: App\Entity\Product\Product

payum:
storages:
"%sylius.model.order.class%": { doctrine: orm }
"%sylius.model.payment.class%": { doctrine: orm }

security:
token_storage:
Sylius\Bundle\PayumBundle\Model\PaymentSecurityToken: { doctrine: orm }

dynamic_gateways:
config_storage:
Sylius\Bundle\PayumBundle\Model\GatewayConfig: { doctrine: orm }

gateways:
offline:
factory: offline
12 changes: 6 additions & 6 deletions config/packages/sylius_twig_hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ sylius_twig_hooks:
hooks:
'sylius_shop.base.offcanvas':
info_box:
template: "blocks/info_box.html.twig"
template: "info_box.html.twig"
priority: 100

'sylius_admin.security.login':
info_box:
template: "blocks/info_box.html.twig"
template: "info_box.html.twig"
priority: 100

'sylius_admin.security.login.content':
info_box:
template: "blocks/admin_demo_credentials.html.twig"
template: "admin_demo_credentials.html.twig"
priority: 150

'sylius_admin.common.index':
info_box:
template: "blocks/info_box.html.twig"
template: "info_box.html.twig"
priority: 100

'sylius_shop.base#javascripts':
analytics:
template: "blocks/analytics.html.twig"
template: "analytics.html.twig"
priority: 100

'sylius_shop.account.login.content.login_container':
analytics:
template: "blocks/shop_demo_credentials.html.twig"
template: "shop_demo_credentials.html.twig"
priority: 150
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8189cba

Please sign in to comment.