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.
Catatan: Element template-only. Berlaku di template:
single_product.
Props
| Field | Type | Default | Keterangan |
|---|---|---|---|
label | string | "Catatan" | Label |
placeholder | string | "Tulis catatan untuk produk ini..." | Placeholder |
maxLength | number (1–1000) | 500 | Maks Karakter |
rows | number (1–10) | 3 | Tinggi (baris) |
Contoh
{
"id": "pro01abc",
"type": "productCustomerNote",
"props": {
"label": "Catatan",
"placeholder": "Tulis catatan untuk produk ini...",
"maxLength": 500,
"rows": 3
}
}