collections
Description
- Collections related to the current context. May be a list or a single collection.
Source
- If present:
{{collections}} - If single:
{{collection}}
Type
- Array of collection or collection object
Collection (Key Fields)
_id,title,slug,handle,image{fileUrl},description,operation,productCount
Examples
List
[
{
"_id": "68beb43c25aa91736821813e",
"app": "689063e353b3d912b37a3564",
"title": "Tsf",
"slug": "tsf",
"handle": "tsf",
"image": {
"_id": "68907c4ec33f2324307f4813",
"file": "1754299469669-197439032.webp",
"app": "689063e353b3d912b37a3564",
"id": "68907c4ec33f2324307f4813",
"fileUrl": "https://cdn.qumra.cloud/media/689063e353b3d912b37a3564/1754299469669-197439032.webp"
},
"description": "Tvtvttg",
"operation": "manual",
"deleted": false,
"createdAt": "2025-09-08T10:47:24.850Z",
"updatedAt": "2025-09-08T10:47:24.850Z",
"id": "68beb43c25aa91736821813e",
"productCount": 3
}
]
Single
{
"_id": "68f8f5c610788325661edd44",
"title": "rwar",
"slug": "rwar",
"handle": "rwar",
"image": null,
"operation": "manual"
}
Notes
- The code sets
objectsData.collectionstwice: a list if available, then a single collection if present.