Gelöst Abgleich von Artikelattribute und Artikelmerkmale

hberg539

Mitglied
31. Januar 2019
12
1
Hallo zusammen,

ist der Abgleich (in Beide Richtungen, push / pull) von Artikelattributen und Artikelmerkmalen über den Connector möglich?
screenshot.png

Um das kurz zu probieren, habe ich mir von dem obigen Testartikel das Product-Model angeschaut, das ich im Connector erhalte. Dort tauchen leider keine Attribute oder Merkmale auf:
JSON:
{
  "basePriceUnitId": {
    "endpoint": "",
    "host": 0
  },
  "id": {
    "endpoint": "e_100001",
    "host": 6026
  },
  "manufacturerId": {
    "endpoint": "",
    "host": 0
  },
  "masterProductId": {
    "endpoint": "",
    "host": 0
  },
  "measurementUnitId": {
    "endpoint": "",
    "host": 0
  },
  "partsListId": {
    "endpoint": "",
    "host": 0
  },
  "productTypeId": {
    "endpoint": "",
    "host": 0
  },
  "shippingClassId": {
    "endpoint": "0",
    "host": 1
  },
  "unitId": {
    "endpoint": "",
    "host": 0
  },
  "asin": "",
  "availableFrom": null,
  "basePriceDivisor": 0,
  "basePriceFactor": 0,
  "basePriceQuantity": 0,
  "basePriceUnitCode": "",
  "basePriceUnitName": "",
  "considerBasePrice": false,
  "considerStock": true,
  "considerVariationStock": false,
  "creationDate": "2019-02-25T17:32:38+0000",
  "ean": "",
  "epid": "",
  "hazardIdNumber": "",
  "height": 0,
  "isActive": true,
  "isBatch": false,
  "isBestBefore": false,
  "isbn": "",
  "isDivisible": false,
  "isMasterProduct": false,
  "isNewProduct": false,
  "isSerialNumber": false,
  "isTopProduct": false,
  "keywords": "",
  "length": 0,
  "manufacturerNumber": "",
  "manufacturer": null,
  "measurementQuantity": 0,
  "measurementUnitCode": "",
  "minBestBeforeDate": null,
  "minimumOrderQuantity": 0,
  "minimumQuantity": 0,
  "modified": "2019-02-25T17:37:54+0000",
  "newReleaseDate": "2019-02-25T17:32:38+0000",
  "nextAvailableInflowDate": null,
  "nextAvailableInflowQuantity": 0,
  "note": "Article was updated from PIM at 2019-02-25T17:32:38+01:00",
  "originCountry": "",
  "packagingQuantity": 0,
  "permitNegativeStock": false,
  "productWeight": 0,
  "purchasePrice": 0,
  "recommendedRetailPrice": 0,
  "serialNumber": "",
  "shippingWeight": 0,
  "sku": "100001",
  "sort": 0,
  "stockLevel": {
    "productId": {
      "endpoint": "e_100001",
      "host": 6026
    },
    "stockLevel": 1
  },
  "supplierDeliveryTime": 0,
  "supplierStockLevel": 0,
  "taric": "",
  "unNumber": "",
  "upc": "",
  "vat": 19,
  "width": 0,
  "attributes": [
   
  ],
  "categories": [
   
  ],
  "checksums": [
   
  ],
  "configGroups": [
   
  ],
  "customerGroupPackagingQuantities": [
   
  ],
  "fileDownloads": [
   
  ],
  "i18ns": [
    {
      "productId": {
        "endpoint": "e_100001",
        "host": 6026
      },
      "deliveryStatus": "0 Tage",
      "description": "",
      "languageISO": "ger",
      "measurementUnitName": null,
      "metaDescription": "",
      "metaKeywords": "",
      "name": "Artikel Nr. 1",
      "shortDescription": "",
      "titleTag": "",
      "unitName": null,
      "urlPath": ""
    }
  ],
  "invisibilities": [
   
  ],
  "mediaFiles": [
   
  ],
  "partsLists": [
   
  ],
  "prices": [
    {
      "customerGroupId": {
        "endpoint": "",
        "host": 0
      },
      "customerId": {
        "endpoint": "",
        "host": 0
      },
      "id": {
        "endpoint": "",
        "host": 0
      },
      "productId": {
        "endpoint": "e_100001",
        "host": 6026
      },
      "items": [
        {
          "productPriceId": {
            "endpoint": "",
            "host": 0
          },
          "netPrice": 0,
          "quantity": 0
        }
      ]
    }
  ],
  "specialPrices": [
   
  ],
  "specifics": [
   
  ],
  "varCombinations": [
   
  ],
  "variations": [
   
  ],
  "warehouseInfo": [
   
  ]
}

Beinflusst die features.json, welche Daten an den Connector im Product-Controller gesendet werden?
Ich dürfte alle relevanten Controller auf "true" gesetzt haben (siehe features.txt).

Danke!

Gruß,
Kevin
 

Anhänge

Zuletzt von einem Moderator bearbeitet:

Immanuel

Gesperrter Benutzer
24. August 2016
1.542
329
Hallo Kevin,

hast du das Attribut auch für diesen Onlineshop in der Wawi aktiviert?

Für Merkmale muss ein eigener (Specific) Controller implementiert werden, da sie global definiert sind. Dementsprechend muss auch Specific.pull und Specific.push in der features.json auf true gesetzt werden.
 
  • Gefällt mir
Reaktionen: hberg539

hberg539

Mitglied
31. Januar 2019
12
1
Hallo Immanuel,

Ah, das Attribut und den Specific-Controller hatte ich nicht aktiviert.
Jetzt funktioniert es.

Danke!
 

Ähnliche Themen