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

Interface: ILineItem

Provides properties for a single order in a cart.

Hierarchy

Index

Properties

Properties

active

active: boolean


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.


productIndex

productIndex: number

The product index for this line item.


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.