Answers for "shopware 6 administration template explained"

0

shopware 6 administration template explained

{% block emizen_module_list %}
    <sw-page>
        {% block emizen_module_smart_bar_header %}
            <template #smart-bar-header>
                {% block emizen_module_list_smart_bar_header_title %}
                    <h2>
                        {% block emizen_module_list_smart_bar_header_title_text %}
                            {{ $tc('sw-settings.index.title') }}
                            <sw-icon name="small-arrow-medium-right" small></sw-icon>
                            {{ $t('emizen-module.general.mainMenuItemList') }}
                        {% endblock %}
                        {% block emizen_module_list_smart_bar_header_amount %}
                            <span v-if="total" class="sw-page__smart-bar-amount">
                                ({{total}})
                            </span>
                        {% endblock %}
                    </h2>
                {% endblock %}
            </template>
        {% endblock %}

        <template slot="content">
            <sw-entity-listing
                :items="emizenModuleCollection"
                :repository="repository"
                :showSelection="false"
                :columns="columns">
                <template slot="column-productNumber" slot-scope="{ item }">
                   {{item.productNumber}}
                </template>
                <template slot="column-description" slot-scope="{ item }">
                   {{item.description}}
                </template>
            </sw-entity-listing>
        </template>
    </sw-page>
{% endblock %}
Posted by: Guest on March-22-2022

Code answers related to "shopware 6 administration template explained"

Browse Popular Code Answers by Language