Interface: 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}}",
"downloadUrl": "{{$['editor'].hiResUrls}}",
"data": {
"stateId": "{{$['editor'].stateId}}"
}
}
}
]
}
Hierarchy
-
IOrderConfig
Index
Properties
Properties
customPrice
• customPrice: number
The custom price for the order.
data
• data: Object
Custom data (as a JSON object).
downloadUrls
• downloadUrls: Array‹string›
An array of the print-ready files, which should be stored along with the order in your e-commerce system.
images
• images: Array‹string›
An array of URLs to preview images which should be stored along with the order in your e-commerce system.
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
.