CartField

A form field in the cart

This page contains

    Fields

    inputCode: String!

    Unique identifier of the field

    inputTitle: String

    Title/label of the field

    subTitle: String

    Subtitle of the field

    tooltip: String

    Tooltip text for the field

    value: String

    Default value of the field

    possibleValues: [CartFieldPossibleValue!]

    Available options for select/dropdown fields

    fieldType: CartFieldType!

    Type of the form field

    visible: Boolean!

    Whether the field should be displayed

    validations: CartFieldValidation!

    Validation rules for the field

    options: CartFieldOption

    Field configuration options including suffix and placeholder

    Parent objects of CartField

    CartItemProductFieldsForm

    Product fields form containing cart item details

    Queries for CartField

    cartFields

    Retrieves form fields for a specific cart