Produkt mit Freiform

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

Beispiel
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 = ’free_form‘;

Hinweis
Für eine Freiform legen Sie in Ihren Druckdaten bitte einen Vektorpfad an, der die Schnittlinie darstellt. Weisen Sie diesem Pfad eine Volltonfarbe zu, benennen Sie die Sonderfarbe mit „cutting line“ und stellen Sie diese auf „Überdrucken“.