Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier of the setting (e.g., "images", "title"). |
| label | object {ar,en} | Input label shown to the merchant. |
| type | string | Input type (e.g., "text", "textarea", "image", "number", "color", "list"). |
| default | any | Default value when none is provided. |
| icon | text | Optional reference to an icon (e.g. fal fa-box). |
{
"type": "products",
"id": "products",
"label": {
"ar": "اختر قائمة المنتجات",
"en": "Select category products"
}
}{
"type": "category",
"id": "category",
"label": {
"ar": "اختر التصنيف",
"en": "Select category"
}
}{
"type": "category_products",
"id": "category_products_1",
"label": {
"ar": "اختر منتجات التصنيف",
"en": "Select category products"
}
}