# Customer-View im Backend erweitern

**URL:** <https://forum.shopware.com/t/customer-view-im-backend-erweitern/49850>\
**Category:** Programmierung\
**Created:** [4. Dezember 2017 um 15:06 UTC](https://forum.shopware.com/t/customer-view-im-backend-erweitern/49850 "2017-12-04T15:06:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbdus](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/mbdus/32/12997_2.png) [@mbdus](https://forum.shopware.com/u/mbdus)\
**Post date:** [4. Dezember 2017 um 15:06 UTC](https://forum.shopware.com/t/customer-view-im-backend-erweitern/49850/1 "2017-12-04T15:06:43Z")

</div>

Hallo,

ich würde gerne in Shopware 5.3 die Customer-View im Backend um einen Wert/ eine Spalte erweitern.

In der Datei backend/customer/view/main/customer\_list.js steht folgendes:

```
// {namespace name=backend/customer/view/main}
// {block name="backend/customer/view/main/customer_list"}

Ext.define('Shopware.apps.Customer.view.main.CustomerList', {
    extend: 'Shopware.grid.Panel',
    alias: 'widget.customer-list',

    configure: function() {
        return {
            displayProgressOnSingleDelete: false,

            /* {if {acl_is_allowed privilege=delete}} */
                deleteButton: true,
                deleteColumn: true,
            /* {else} */
                deleteButton: false,
                deleteColumn: false,
            /* {/if} */

            /* {if {acl_is_allowed privilege=detail}} */
                editColumn: true,
            /* {else} */
                editColumn: false,
            /* {/if} */

            /* {if {acl_is_allowed privilege=update}} */
                addButton: true,
            /* {else} */
                addButton: false,
            /* {/if} */

            columns: {
                active: { header: '{s name="active"}{/s}', width: 50 },
                id: { header: '{s name="id"}{/s}' },
                customerGroup: { header: '{s name="column/customer_group"}{/s}' },
                shop: { header: '{s name="shop"}{/s}' },
                number: { header: '{s name="column/number"}{/s}' },
                email: { header: '{s name="email"}{/s}', renderer: this.mailRenderer, flex: 2 },
                salutation: { header: '{s name="salutation"}{/s}', renderer: this.salutationRenderer },
                title: { header: '{s name="title"}{/s}', width: 70 },
                company: { header: '{s name="company"}{/s}' },
                firstname: { header: '{s name="column/first_name"}{/s}' },
                lastname: { header: '{s name="column/last_name"}{/s}' },
                zipcode: { header: '{s name="zip_code"}{/s}' },
                city: { header: '{s name="city"}{/s}' },
                firstLogin: { header: '{s name="first_login"}{/s}' },
                lastLogin: { header: '{s name="lastLogin"}{/s}' },
                accountMode: { header: '{s name="column/accountMode"}{/s}', renderer: this.accountModeRenderer },
                lockedUntil: { header: '{s name="lockedUntil"}{/s}' },
                birthday: { header: '{s name="birthday"}{/s}' }
            }
        };
    },

```

Ich hatte gehofft, columns einfach um einen Eintrag erweitern zu können. Funktioniert leider nicht. Hat jemand einen Tipp für mich? Vielen Dank im Voraus.

Grüße

Mathias

---

<div class="post-metadata">

**Author:** ![TBo](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@TBo](https://forum.shopware.com/u/TBo)\
**Post date:** [8. Mai 2019 um 12:20 UTC](https://forum.shopware.com/t/customer-view-im-backend-erweitern/49850/2 "2019-05-08T12:20:18Z")

</div>

Hallo Mathias,

ich habe das selbe Anliegen. Hast du schon eine Lösung gefunden?

&nbsp;

Grüße,

Thomas

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [8. Mai 2019 um 16:39 UTC](https://forum.shopware.com/t/customer-view-im-backend-erweitern/49850/3 "2019-05-08T16:39:13Z")

</div>

Ext.override auf das Element. Du musst jedoch ebenfalls ein Feld im model erstellen, sonst wird das nicht angezeigt
