Skip to main content

product / products

Product picker fields. Use product for a single product or products for a list. Returns the full product object(s) from the store.

Properties

PropertyTypeRequiredDescription
type"product" or "products"YesSingle or multiple products
labelstringYesLabel shown in the builder
defaultstring or arrayNo"" for product, [] for products

Usage

{
"featured": {
"type": "product",
"label": "Featured product",
"default": ""
},
"items": {
"type": "products",
"label": "Products",
"default": []
}
}
Product object

The returned product object includes title, slug, images, pricing, quantity, status, options, and more. Access nested fields like product.pricing.price or product.images[0].fileUrl.

Interactive Preview

Interactive Preview
Classic T-Shirt
150 SAR
slug: classic-tshirt
Live Output
{
  "featured": {
    "_id": "69248443e2f94be6c3772ecc",
    "title": "Classic T-Shirt",
    "slug": "classic-tshirt",
    "pricing": {
      "price": 150,
      "compareAtPrice": 200
    },
    "images": [
      {
        "fileUrl": "https://cdn.qumra.cloud/media/..."
      }
    ]
  }
}