Neu Staffel und Sonderpreise fehlen

MoritzCHR

Neues Mitglied
9. November 2020
17
0
Hallo Zusammen,
ich beschäftige mich aktuell mit der Anbindung der JTL Wawi an unseren Drittshop.
Mit dem Artikeldaten bin ich so gut wie fertig, es fehlen nur die Staffel und Sonderpreise welche ich nicht geliefert bekomme.
Weder bei einem Gesamt noch bei einem Preis und Bestands Update.

Ich habe dafür die folgenden Flags und Entities aktiviert:
C#:
f.product_variation_value_images_supported = true;
f.product_images_supported = true;
f.needs_category_root = true;
f.needs_finish_call = true;
f.variation_combinations_supported = true;
f.var_combination_child_first = true;
f.translated_attributes_supported = true;
f.free_field_supported = true;

e.ConfigGroup.push = true;
e.ConfigGroupI18n.push = true;
e.ConfigItem.push = true;
e.ConfigItemI18n.push = true;
e.ConfigItemPrice.push = true;
e.ProductConfigGroup.push = true;
e.ProductConfigGroup.delete = true;
e.Category.push = true;
e.Category.delete = true;
e.Product.push = true;
e.Product.delete = true;
e.Category.delete = true;
e.ProductI18n.push = true;
e.ProductI18n.pull = true;
e.ProductAttr.push = true;
e.ProductAttrI18n.push = true;
e.Product2Category.push = true;
e.ProductType.push = true;
e.ProductVariation.push = true;
e.ProductVariationI18n.push = true;
e.ProductVariationValue.push = true;
e.ProductVariationValueI18n.push = true;
e.ProductVarCombination.push = true;
e.ProductStockLevel.push = true;
e.ProductPrice.push = true;
e.ProductPrice.delete = true;
e.ProductPriceItem.push = true;
e.ProductPriceItem.delete = true;
e.ProductSpecialPrice.push = true;
e.ProductSpecialPrice.delete = true;
e.ProductSpecialPriceItem.push = true;
e.ProductSpecialPriceItem.delete = true;
e.ProductSpecific.push = true;
e.MediaFile.push = true;
e.MediaFileI18n.push = true;
e.Image.push = true;
e.Specific.push = true;
e.SpecificI18n.push = true;
e.SpecificValue.push = true;
e.SpecificValueI18n.push = true;
e.CustomerOrder.pull = true;

und bekomme bei einem product.push die folgende json zurück:
Ich erwarte die Staffelpreise in ProductPriceItem oder ProductConfigGroup (Kundengruppe -> Preise), es wird aber nur der Preis außerhalb der Staffelpreise ausgegeben.
JSON:
{
  "entityType": "Product",
  "categories": [],
  "configGroups": [],
  "fileDownloads": [],
  "i18ns": [
    {
      "measurementUnitName": null,
      "unitName": "Stk.",
      "deliveryStatus": null,
      "productId": [
        "",
        11
      ],
      "languageISO": "ger",
      "name": "Produkt mit Staffelpreisen",
      "description": "Sie können einem Artikel pro Kundengruppe bis zu fünf Staffelpreise hinterlegen. In diesem Beispiel wurden der Standardkundengruppe fünf Staffelpreise hinterlegt. ",
      "shortDescription": "",
      "urlPath": "",
      "metaDescription": "",
      "titleTag": "",
      "metaKeywords": ""
    }
  ],
  "invisibilities": [],
  "mediaFiles": [],
  "prices": [
    {
      "customerId": [
        "",
        0
      ],
      "items": [
        {
          "productPriceId": [
            "",
            0
          ],
          "quantity": 0,
          "netPrice": 41.9748
        }
      ],
      "customerGroupId": [
        "",
        0
      ],
      "sku": null,
      "vat": 0.0,
      "id": [
        "",
        0
      ],
      "productId": [
        "",
        11
      ]
    }
  ],
  "partsLists": [],
  "attributes": [],
  "specialPrices": [],
  "specifics": [
    {
      "id": [
        "",
        1
      ],
      "specificValueId": [
        "",
        4
      ],
      "productId": [
        "",
        11
      ]
    },
    {
      "id": [
        "",
        2
      ],
      "specificValueId": [
        "",
        8
      ],
      "productId": [
        "",
        11
      ]
    },
    {
      "id": [
        "",
        2
      ],
      "specificValueId": [
        "",
        10
      ],
      "productId": [
        "",
        11
      ]
    }
  ],
  "warehouseInfo": [],
  "variations": [],
  "checksums": [],
  "varCombinations": [],
  "customerGroupPackagingQuantities": [],
  "stockLevel": {
    "productId": [
      "",
      11
    ],
    "stockLevel": 0.0,
    "sku": null
  },
  "supplierStockLevel": 0.0,
  "vat": 19.0,
  "basePriceFactor": 0.0,
  "supplierDeliveryTime": 0,
  "measurementUnitCode": "",
  "basePriceUnitCode": "",
  "basePriceUnitName": "",
  "minBestBeforeDate": null,
  "manufacturer": {
    "entityType": "Manufacturer",
    "i18ns": [],
    "id": [
      "",
      2
    ],
    "name": "JTL-Software GmbH",
    "websiteUrl": "http://www.jtl-software.de/",
    "sort": 0,
    "urlPath": ""
  },
  "id": [
    "",
    11
  ],
  "sku": "40",
  "recommendedRetailPrice": 0.0,
  "note": "",
  "isActive": true,
  "minimumOrderQuantity": 0.0,
  "ean": "",
  "isTopProduct": false,
  "shippingWeight": 0.0,
  "isNewProduct": false,
  "isSerialNumber": false,
  "isDivisible": false,
  "considerStock": false,
  "permitNegativeStock": false,
  "minimumQuantity": 0.0,
  "purchasePrice": 0.0,
  "considerVariationStock": false,
  "modified": "2020-11-05T19:46:27Z",
  "considerBasePrice": false,
  "basePriceDivisor": 0.0,
  "keywords": "",
  "taric": "",
  "originCountry": "",
  "creationDate": "2013-03-06T00:00:00Z",
  "availableFrom": null,
  "sort": 1,
  "shippingClassId": [
    "",
    1
  ],
  "productWeight": 0.0,
  "manufacturerNumber": "",
  "serialNumber": "",
  "isbn": "",
  "unNumber": "",
  "hazardIdNumber": "",
  "asin": "",
  "masterProductId": [
    "",
    0
  ],
  "isMasterProduct": false,
  "packagingQuantity": 0.0,
  "partsListId": [
    "",
    0
  ],
  "upc": "",
  "productTypeId": [
    "",
    0
  ],
  "epid": "",
  "isBestBefore": false,
  "isBatch": false,
  "manufacturerId": [
    "",
    2
  ],
  "measurementUnitId": [
    "",
    0
  ],
  "measurementQuantity": 0.0,
  "basePriceUnitId": [
    "",
    0
  ],
  "basePriceQuantity": 0.0,
  "width": 0.0,
  "height": 0.0,
  "length": 0.0,
  "unitId": [
    "",
    7
  ],
  "nextAvailableInflowDate": null,
  "additionalHandlingTime": 0,
  "nextAvailableInflowQuantity": 0.0,
  "newReleaseDate": "2013-03-06T00:00:00Z"
}

dieser product.push müsste ProductSpecialPrice enthalten, bleibt aber ebenfalls leer:
JSON:
 {
      "entityType": "Product",
      "categories": [],
      "configGroups": [],
      "fileDownloads": [],
      "i18ns": [
        {
          "measurementUnitName": null,
          "unitName": null,
          "deliveryStatus": null,
          "productId": [
            "",
            14
          ],
          "languageISO": "ger",
          "name": "Produkt mit Sonderpreis",
          "description": "Sie k&ouml;nnen Ihren Produkten zeitlich beschr&auml;nkte Sonderpreise pro Kundengruppe vergeben. <br /><br />In diesem Beispiel haben wir der Endkunden Kundengruppe einen Sonderpreis bis 22.09.2030 hinterlegt. ",
          "shortDescription": "",
          "urlPath": "",
          "metaDescription": "",
          "titleTag": "",
          "metaKeywords": ""
        }
      ],
      "invisibilities": [],
      "mediaFiles": [],
      "prices": [
        {
          "customerId": [
            "",
            0
          ],
          "items": [
            {
              "productPriceId": [
                "",
                0
              ],
              "quantity": 0,
              "netPrice": 83.9915966386555
            }
          ],
          "customerGroupId": [
            "",
            0
          ],
          "sku": null,
          "vat": 0.0,
          "id": [
            "",
            0
          ],
          "productId": [
            "",
            14
          ]
        }
      ],
      "partsLists": [],
      "attributes": [],
      "specialPrices": [],
      "specifics": [
        {
          "id": [
            "",
            1
          ],
          "specificValueId": [
            "",
            5
          ],
          "productId": [
            "",
            14
          ]
        },
        {
          "id": [
            "",
            2
          ],
          "specificValueId": [
            "",
            9
          ],
          "productId": [
            "",
            14
          ]
        },
        {
          "id": [
            "",
            2
          ],
          "specificValueId": [
            "",
            11
          ],
          "productId": [
            "",
            14
          ]
        }
      ],
      "warehouseInfo": [],
      "variations": [],
      "checksums": [],
      "varCombinations": [],
      "customerGroupPackagingQuantities": [],
      "stockLevel": {
        "productId": [
          "",
          14
        ],
        "stockLevel": 0.0,
        "sku": null
      },
      "supplierStockLevel": 0.0,
      "vat": 19.0,
      "basePriceFactor": 0.0,
      "supplierDeliveryTime": 0,
      "measurementUnitCode": "",
      "basePriceUnitCode": "",
      "basePriceUnitName": "",
      "minBestBeforeDate": null,
      "manufacturer": {
        "entityType": "Manufacturer",
        "i18ns": [],
        "id": [
          "",
          2
        ],
        "name": "JTL-Software GmbH",
        "websiteUrl": "http://www.jtl-software.de/",
        "sort": 0,
        "urlPath": ""
      },
      "id": [
        "",
        14
      ],
      "sku": "41",
      "recommendedRetailPrice": 0.0,
      "note": "",
      "isActive": true,
      "minimumOrderQuantity": 0.0,
      "ean": "",
      "isTopProduct": false,
      "shippingWeight": 0.0,
      "isNewProduct": false,
      "isSerialNumber": false,
      "isDivisible": false,
      "considerStock": false,
      "permitNegativeStock": false,
      "minimumQuantity": 0.0,
      "purchasePrice": 0.0,
      "considerVariationStock": false,
      "modified": "2020-11-03T16:47:39Z",
      "considerBasePrice": false,
      "basePriceDivisor": 0.0,
      "keywords": "",
      "taric": "",
      "originCountry": "",
      "creationDate": "2013-03-06T00:00:00Z",
      "availableFrom": null,
      "sort": 3,
      "shippingClassId": [
        "",
        1
      ],
      "productWeight": 0.0,
      "manufacturerNumber": "",
      "serialNumber": "",
      "isbn": "",
      "unNumber": "",
      "hazardIdNumber": "",
      "asin": "",
      "masterProductId": [
        "",
        0
      ],
      "isMasterProduct": false,
     "packagingQuantity": 0.0,
      "partsListId": [
        "",
        0
      ],
      "upc": "",
      "productTypeId": [
        "",
        0
      ],
      "epid": "",
      "isBestBefore": false,
      "isBatch": false,
      "manufacturerId": [
        "",
        2
      ],
      "measurementUnitId": [
        "",
        0
      ],
      "measurementQuantity": 0.0,
      "basePriceUnitId": [
        "",
        0
      ],
      "basePriceQuantity": 0.0,
      "width": 0.0,
      "height": 0.0,
      "length": 0.0,
      "unitId": [
        "",
        0
      ],
      "nextAvailableInflowDate": null,
      "additionalHandlingTime": 0,
      "nextAvailableInflowQuantity": 0.0,
      "newReleaseDate": "2013-03-06T00:00:00Z"
    }
 

Immanuel

Gesperrter Benutzer
24. August 2016
1.542
329
Hallo Moritz,

welche Version von JTL-Wawi kommt zum Einsatz und wie sehen die Einstellungen für "Kundengruppen und Staffelpreise" aus, wenn am Artikel unter Allgemein das Tab für Preise des Shops ausgewählt ist?

Auch bei Sonderpreisen müssen auf dem Tab des Shops die Preise für den entsprechenden Shop gesetzt werden.

Grundsätzlich können Sonderpreise nur über Product Push geupdatet werden. "Normale" Preise können über Product Push und ProductPrice Push zum Shop gesendet werden.
 

MoritzCHR

Neues Mitglied
9. November 2020
17
0
Hallo,

"Kundengruppen und Staffelpreise bearbeiten" wird bei meinem Shop aus gegraut.
Ich nutze die Version 1.5.30.1

1605100121082.png
 

Ähnliche Themen