Product Customer Note
Optional per-item customer note textarea. The value is carried to the cart at add-to-cart time (cart lines split by distinct notes). Pair with addToCartButton. single_product only.
Type: "productCustomerNote"
Optional per-item customer note textarea. The value is carried to the cart at add-to-cart time (cart lines split by distinct notes). Pair with addToCartButton. single_product only.
Note: Template-only element. Valid in templates:
single_product.
Props
| Field | Type | Default | Description |
|---|---|---|---|
label | string | "Catatan" | Label |
placeholder | string | "Tulis catatan untuk produk ini..." | Placeholder |
maxLength | number (1–1000) | 500 | (1-1000) |
rows | number (1–10) | 3 | (textarea rows) |
Example
{
"id": "pro01abc",
"type": "productCustomerNote",
"props": {
"label": "Catatan",
"placeholder": "Tulis catatan untuk produk ini...",
"maxLength": 500,
"rows": 3
}
}