$map =
[ 'txtshortdescription' => 'description',
'txtlangbeschreibung' => 'description_long',
'txtshippingtime' => 'shippingtime',
'txtArtikel' => 'name',
'txtzusatztxt' => 'additionaltext',
'metaTitle' => 'metaTitle',
];
$attributes =
Shopware()->
Container()->
get(CrudService::
class)->
getList('s_articles_attributes'
);
foreach ($attributes as $attribute) { if ($attribute->
isIdentifier()) { continue;
} $columnName =
$attribute->
getColumnName();
$map[CrudServiceInterface::EXT_JS_PREFIX .
$columnName] =
$columnName;
} break;
case 'link':
$map =
['linkname' => 'description'
];
break;
case 'download':
$map =
['downloadname' => 'description'
];