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 ). |
Field | Type | Description |
---|---|---|
info | text | Optional informational below upload box. |
{
"type": "image",
"id": "image",
"label": {
"ar": "صورة",
"en": "Image"
},
"info": {
"ar": "ارفع صورة بحجم ٢٠٠ *٢٠٠",
"en": "Upload an image of size 200x200"
}
}
Field | Type | Description |
---|---|---|
info | text | Optional informational below upload box. |
{
"type": "video",
"id": "video",
"label": {
"ar": "فيديو",
"en": "Video"
}
"info": {
"ar": "mp4 اقصى حجم 10MB",
"en": "max upload size 10MB"
}
}