au-widget-order/IOrderConfig
Interfaces
IOrderConfig
Provides properties for the personalized orders.
You can use these properties in params of the AuWidgetOrder class.
{
"widgets": [
{
"name": "order-details",
"type": "order",
"params": {
"images": "{{$['editor'].proofImages}}",
"downloadUrls": "{{$['editor'].hiResUrls}}",
"data": {
"stateId": "{{$['editor'].stateId}}"
}
}
}
]
}
Extended by
Properties
customPrice
customPrice: number;
The custom price for the order.
data
data: Object;
Custom data (as a JSON object).
downloadUrls
downloadUrls: string[];
An array of the print-ready files, which should be stored along with the order in your e-commerce system.
images
images: string[];
An array of URLs to preview images which should be stored along with the order in your e-commerce system.
logRequest
logRequest: boolean;
If true, logging 'add-to-cart' requests (for Shopify only).
props
props: Object;
Custom properties. They don't appear in the order, but are available in the onSubmitting callback.
quantity
quantity: number;
The number of ordered products. The default value is 1.
sku
sku: string;
Order line item SKU (for option-based product).
useBackOffice
useBackOffice: boolean;
Indicates if driver should perform some BackOffice actions.