Skip to content

Design engine in the shop

Tip

See Design engine for more information about using the design engine in Ibexa Platform.

Ibexa Commerce comes with the configured base_design and base_theme which use the existing standard templates used with the template resolver.

SiteAccess configuration

You can configure designs per SiteAccess or SiteAccess group:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
siteaccess:
    list:
      - de
      - en
      - import
      - site
      - admin
    groups:
        site_group: [de, en, import, site]
        admin_group: [admin]
    default_siteaccess: en
site_group:
    design: base_design
admin_group:
    design: admin

Activation

If the template resolver of Ibexa Commerce is disabled (standard), the design engine of Ibexa Platform is automatically activated:

1
siso_tools.default.template_resolver.enabled: false

Template theme paths

All Ibexa Commerce bundles contain an ez_design.yml file which is used to define the templates_theme_path to the templates. Without the template theme path, the templates are not recognized by the design engine:

1
2
3
4
5
design_list:
    base_design: [base_theme]
templates_theme_paths:
    base_theme:
        - '%kernel.root_dir%/../vendor/silversolutions/silver.someBundle/Resources/views'
Read the Docs