Quantcast
Channel: Administration - Shopware Community Forum
Viewing all articles
Browse latest Browse all 2333

Migration Kundendaten

$
0
0

Hallo,

Ich hab meine Kundendaten aus Shopware 4 exportiert und diese in Shopware 5 importiert. (Mit dem erweiterten Exporter).

Hab dann die Import Definition angepasst und den Import durchgeführt.

Bei vielen Kunden hat es problemlos funktioniert.

Allerdings habe ich ein paar Kunden die ich nicht öffnen kann.

In der Java script Console sehe ich:

Uncaught TypeError: Cannot read property 'get' of null

als Methode wird mir dieser Block hier angegeben:

createDebitFormTopElements:function () {
var me = this;
me.paymentCombo = Ext.create('Ext.form.field.ComboBox', {
name:'paymentId',
queryMode: 'local',
triggerAction:'all',
fieldLabel:me.snippets.payment.label,
helpTitle:me.snippets.payment.helpTitle,
helpText:me.snippets.payment.helpText,
valueField:'id',
displayField:'description',
allowBlank:false,
required:true,
anchor:'100%',
labelWidth:155,
minWidth:250,
editable:false,
tpl: Ext.create('Ext.XTemplate',
'<tpl for=".">',
'<tpl if="this.doHighlight(id)">',
'<div class="x-boundlist-item" style="background-color:#F2DEDE; color: #A94442">{description}</div>',
'<tpl else>',
'<div class="x-boundlist-item">{description}</div>',
'</tpl>',
'</tpl>',
{
doHighlight: function (id) {
var record = me.paymentCombo.getStore().findRecord('id', id);
return !record.get('active');
}
}
),
listeners:{
change:function (field, newValue) {
var store = field.getStore(),
selectedRecord = store.findRecord('id', newValue),
input = Ext.get(field.getEl().down('.x-form-field'));
if(!selectedRecord.get('active')) {
input.setStyle( { 'color': '#A94442','background': '#F2DEDE' } );
}
else {
input.setStyle( { 'background': '', 'color': '' } );
}
me.fireEvent('changePayment', newValue, me.fieldContainer);
}
}
});

Die Konsole bemängelt hierbei den Block:

if(!selectedRecord.get('active')) {
 

Shopware Version ist die 5.2.1

Ich bin um jede hilfe dankbar.


Viewing all articles
Browse latest Browse all 2333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>