TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

Interface: IOrderInitModel

Provides properites for the order model.

Hierarchy

Index

Properties

Properties

data

data: Object

Inherited from IOrderConfig.data

Custom data (as a JSON object).


downloadUrls

downloadUrls: Array‹string›

Inherited from IOrderConfig.downloadUrls

An array of the print-ready files, which should be stored along with the order in your e-commerce system.


images

images: Array‹string›

Inherited from IOrderConfig.images

An array of URLs to preview images which should be stored along with the order in your e-commerce system.


product

product: IProduct

A product to initialize the order.


props

props: Object

Inherited from IOrderConfig.props

Custom properties. They don't appear in the order, but are available in the onSubmitting callback.


quantity

quantity: number

Inherited from IOrderConfig.quantity

The number of ordered products. The default value is 1.


settings

settings: IPluginSettings

Settings of the e-commerce plugin.