Produkt mit Sonderformat

Bei der Bestellung können auch Sonderformate definiert werden. Dazu wählen Sie den gewünschten Artikel im nächstgrößeren Format und übergeben die Sonderformat-Werte über folgende zusätzliche Parameter im createOrder().

Beispiel
Für einen Flyer im Format 150 x 150 mm ist das nächst größere Format mit 183 x 273 mm auszuwählen.

class specialFormatType {
public $width; // int
public $height; // int
public $formatType; // string
}

class orderDataType {
public $customerProductId; // string
public $orderQuantity; // int
public $aspectRatio; // string
public $shippingType; // string
public $orderName; // string
public $customerCopy; // int
public $customerComment; // string
public $specialFormatValues;
}

$args->orderPositions[0]->orderInformation->specialFormatValues = new specialFormatType();
$args->orderPositions[0]->orderInformation->specialFormatValues->width = 150;
$args->orderPositions[0]->orderInformation->specialFormatValues->height = 150;
$args->orderPositions[0]->orderInformation->specialFormatValues->formatType = ‚special format‚;

Kategorie: Auftrag
Tags: Format, Größe, Sonderformat