Ich suche
Dropshipping (HĂ€ndlerseite)

Sanitization

‱‱
Sanitization

Sanitization: Festlegen von Standardwerten

Die Sanitization erlaubt es ĂŒber REST-Endpunkte empfangende Werte mit gesetzten Standard-Werten zu ĂŒberschreiben.

Konfigurieren

Dazu ins Installations-Verzeichnis wechseln und die Sanitization.json bearbeiten.

{
    "@jdt.merge": [
        {
            "@jdt.path": "$.*..cSprache",
            "@jdt.value": "ger"
        },
        {
            "@jdt.path": "$.*..cWaehrung",
            "@jdt.value": "EUR"
        },
        {
            "@jdt.path": "$.*..fGuthaben",
            "@jdt.value": 0
        },
        {
            "@jdt.path": "$.*..fGesamtsumme",
            "@jdt.value": 0
        },
        {
            "@jdt.path": "$.*..cBestellNr",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..cVersandartName",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..cVersandInfo",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..dVersandDatum",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..cTracking",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..dLieferDatum",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..cBemerkung",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..cKommentar",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..dErstellt",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..cZahlungsartName",
            "@jdt.value": "Vorkasse"
        },
        {
            "@jdt.path": "$.*..dBezahltDatum",
            "@jdt.value": ""
        },
        {
            "@jdt.path": "$.*..fBezahlt",
            "@jdt.value": 0
        },
        {
            "@jdt.path": "$.*..twarenkorbpos[?(@)]",
            "@jdt.value": {
                "cBarcode": "",
                "fPreisEinzelNetto": 0,
                "fPreis": 0,
                "cEinheit": "",
                "fMwSt": 0.00,
                "cPosTyp": "standard",
                "fRabatt": 0
            }
        },
        {
            "@jdt.path": "$.*..tkunde",
            "@jdt.value": {
                "cAnrede": "",
                "cTitel": "",
                "cVorname": "",
                "cNachname": "",
                "cFirma": "",
                "cStrasse": "",
                "cAdressZusatz": "",
                "cPLZ": "",
                "cOrt": "",
                "cBundesland": "",
                "cLand": "",
                "cTel": "",
                "cMobil": "",
                "cFax": "",
                "cMail": "",
                "cUSTID": "",
                "cWWW": "",
                "cHerkunft": ""
            }
        },
        {
            "@jdt.path": "$.*..tzahlungsinfo",
            "@jdt.value": {
                "cBankName": "",
                "cBLZ": "",
                "cKontoNr": "",
                "cKartenNr": "",
                "dGueltigkeit": "",
                "cCVV": "",
                "cKartenTyp": "",
                "cInhaber": "",
                "cIBAN": "",
                "cBIC": ""
            }
        }
    ]
}