Velo: Wix Stores "AbandonedCarts" Collection Fields

Tip: Before continuing, make sure you've read Working with Wix App Collections.

To use the AbandonedCarts collection in code, refer to it as "Stores/AbandonedCarts".

Copy

This document describes the permissions and fields in your AbandonedCarts collection.

Important: You can query up to 100 items from the AbandonedCarts collection. Trying to query more than 100 items by raising the wix-data limit will result in an error.

Permissions

The AbandonedCarts collection has the following permissions:

  • Read: Admin 
  • Create: None
  • Update: None
  • Delete: None

You cannot change the AbandonedCarts collection's permissions. 

Fields

Note: This app collection contains read-only fields that cannot be managed from the collection. You can update the fields from the relevant app in your site’s dashboard.

The field name is listed as the heading of each section, with the field ID listed in parentheses, like this: Name (name). The fields appear in this document in the order in which they appear in your collection by default.

ID (_id)

Description: The ID of the abandoned cart. This is a system field and is hidden by default.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: Yes

Can be sorted: Yes

Can be filtered: eq, ne, hasSome, contains, startsWith

Read-only: Yes

Buyer Info (buyerInfo)

Description: Buyer information as a JSON object.

Type: Object

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Note: "identityType" is one of the following:

  • "MEMBER": Buyer is a logged-in site member.
  • "CONTACT": A contact has been created for the buyer.
Copy
Copy

Date Abandoned (abandonTime)

Description: Time the cart was abandoned.

Type: Date

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: Yes

Read-only: Yes

Status (status)

Description: Status of the abandoned cart.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: Yes

Can be sorted: Yes

Can be filtered: eq, ne

Read-only: Yes

Notes: Either "ABANDONED" or "RECOVERED".

Activities (activities)

Description: List of activities for this order in an array of JSON objects.

Type: JSON

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Notes: The "type" value is one of:

  • "UNRECOGNIZED_TYPE"
  • "SCHEDULED"
  • "EMAIL_SENT"
  • "EMAIL_NOT_SENT"
  • "NOTIFICATION_SENT"
  • "TASK_CREATED"
  • "CUSTOM_ACTIVITY"
Copy

Total (total)

Description: The order total.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Did this help?