Product SKU
Shows SKU code for current product (uses slug fallback). single_product only.
Type: "productSku"
Shows SKU code for current product (uses slug fallback). single_product only.
Catatan: Element template-only. Berlaku di template:
single_product.
Props
| Field | Type | Default | Keterangan |
|---|---|---|---|
prefix | string | "SKU:" | Prefix |
hideIfEmpty | boolean | true | Sembunyikan jika kosong |
size | 'sm'|'md'|'lg' | "sm" | Ukuran |
alignment | enum | "left" | Alignment |
Contoh
{
"id": "pro01abc",
"type": "productSku",
"props": {
"prefix": "SKU:",
"hideIfEmpty": true,
"size": "sm",
"alignment": "left"
}
}