diff --git a/src/Plugin/MapFieldRoles.php b/src/Plugin/MapFieldRoles.php
index d2c182eb..61e318f2 100644
--- a/src/Plugin/MapFieldRoles.php
+++ b/src/Plugin/MapFieldRoles.php
@@ -32,16 +32,14 @@ protected function map(array $fieldRoles): array
return [
'brand' => $getRole('brand'),
- 'campaignProductNumber' => $getRole('productNumber'),
'deeplink' => $getRole('deeplink'),
'description' => $getRole('description'),
- 'displayProductNumber' => $getRole('productNumber'),
'ean' => $getRole('ean'),
'imageUrl' => $getRole('imageUrl'),
- 'masterArticleNumber' => $getRole('masterId'),
+ 'masterId' => $getRole('masterId'),
'price' => $getRole('price'),
'productName' => $getRole('productName'),
- 'trackingProductNumber' => $getRole('productNumber'),
+ 'productNumber' => $getRole('productNumber'),
];
}
diff --git a/src/Test/Unit/Plugin/MapFieldRolesTest.php b/src/Test/Unit/Plugin/MapFieldRolesTest.php
index 69af8e59..417715fa 100644
--- a/src/Test/Unit/Plugin/MapFieldRolesTest.php
+++ b/src/Test/Unit/Plugin/MapFieldRolesTest.php
@@ -34,7 +34,7 @@ class MapFieldRolesTest extends TestCase
public function test_it_will_map_field_roles_in_ng()
{
$this->configMock->method('getVersion')->willReturn('ng');
- $callbackMock = fn (array $fieldRoles, int $storeId) => $this->assertArrayHasKey('masterArticleNumber', $fieldRoles);
+ $callbackMock = fn (array $fieldRoles, int $storeId) => $this->assertArrayHasKey('ean', $fieldRoles);
$this->plugin->aroundSaveFieldRoles($this->createMock(FieldRoles::class), $callbackMock, $this->fieldRoles, 1);
}
diff --git a/src/etc/config.xml b/src/etc/config.xml
index 74b22453..8582ddb6 100644
--- a/src/etc/config.xml
+++ b/src/etc/config.xml
@@ -10,7 +10,7 @@
1
1
0
- {"brand":"Brand","campaignProductNumber":"ProductNumber","deeplink":"Deeplink","description":"Description","displayProductNumber":"ProductNumber","ean":"EAN","imageUrl":"ImageURL","masterArticleNumber":"Master","price":"Price","productName":"Name","trackingProductNumber":"ProductNumber"}
+ {"brand":"Brand","deeplink":"Deeplink","description":"Description","ean":"EAN","imageUrl":"ImageURL","masterId":"Master","price":"Price","productName":"Name","productNumber":"ProductNumber"}
1