Back to Website
Show / Hide Table of Contents

Interface ICartConfig

Provides items for AuWidgetCart. The following example illustrates how you can define carts.

{
  "widgets": [{
    "name": "cart",
    "type": "cart",
    "params": {
      "lineItems": [
        {
          "productIndex": 0,
          "images": "{{ getOrDefault(\" $['cc'].proofImageUrls.map(item=>item[0])\",[]) }}",
          "downloadUrls": "{{ getOrDefault(\" $['cc'].hiResUrls \",[]) }}",
          "data": {
            "stateId": "{{ getOrDefault(\" $['cc'].stateId \",'') }}",
            "orderUrl": "{{ getOrDefault(\" settings.customersCanvasBaseUrl.toLowerCase().split('users')[0] + '/orders/DepositPhotos?userId=' + $['cc'].userId + '&stateId=' + $['cc'].stateId\",'') }}"
          }
        }
      ]
    }
  }]
}
Package: ui-framework

Properties

lineItems

An array of orders that represents a cart.

Declaration
lineItems: ILineItem[]
Property Value
Type Description
ILineItem[]

An array of orders that represents a cart.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback