Custom fields
Custom fields let you store extra information that Zid doesn't have a field for, such as a production date, an expiry date, usage instructions or a size chart. You define the fields once in Products > Custom fields, then fill in their values on each product, category or extra page.
Custom fields depend on your plan. Staff members need the permission to view custom fields to open the page, and the permission to manage them to create, edit, delete or switch fields on and off. Charity (NGO) stores don't have custom fields.
Turn on custom fields
If custom fields are switched off for your store, the page shows Enable custom fields.
Go to Products > Custom fields.
Select Enable. The message Metafields have been activated successfully confirms it.
To switch custom fields off for the whole store, select Disabled at the top of the page.
The custom fields list
The list has three tabs, one for each place a custom field can belong to:
| Tab | Where the fields appear |
|---|---|
| Products | The Custom fields section of every product page. |
| Categories | The Custom fields card of every category form. |
| Extra pages | The form of every extra page in your online store. |
| Column | What it shows |
|---|---|
| Name | The field's name. Select it to edit the field. |
| Type | The field type, such as Text or Date. |
| Used in | How many products, categories or pages use the field. |
| Status | A switch that turns the field on or off. A field that is off doesn't appear on product pages. |
| Actions | Delete and Edit. |
Drag fields up or down to change their order. The order is saved straight away.
Delete removes a field straight away, without asking you to confirm.
Create a custom field
Go to Products > Custom fields and select Create.
Choose where the field belongs: Products, Categories or Extra pages.
Fill in the fields described below.
Select Create. You return to the list on the tab you chose.
| Field | Rules |
|---|---|
| Field name | The name shown above the field. The Arabic name is required; the English name is optional. |
| Field slug | Required. A short identifier for the field, such as date-1. |
| Field type | What kind of value the field holds (see the table below). You can't change it after you create the field. |
| Display in | Merchant dashboard is always selected. Tick Storefront to also show the value in your store. |
Field types
| Type | What you enter on the product, category or page |
|---|---|
| Text | Short text in Arabic and English. |
| Rich text | Formatted text, with one editor per store language. |
| Date | A date. |
| Time | A time. |
| Number | A number. |
| JSON | Structured data in JSON format. |
| Image | An image in PNG, JPEG or JPG, up to about 2 MB. |
| File | A PDF file, up to about 2 MB. |
| Table | Rows of values in columns you define, such as a size chart. |
Define a table field
When you choose Table, define its columns:
Fill in Field Name - Arabic (required) and Field Name - English for the first column.
Optionally enter a Field Slug for the column.
Choose the column's Field type: Text, Date, Time, Number, Image or File.
Select Add column for each extra column. Drag columns to reorder them, or delete one with its delete icon.
After you create a table field, you can still rename its columns, but you can't add, delete or reorder columns or change their slug or type.
Edit a custom field
Select the field's name or Edit.
Change the name, slug or Display in settings.
Select Edit at the top of the page to save.
Fill in custom fields on a product
Open a product from Products > All products.
Expand Custom fields at the bottom of the main column.
Fill in the values. Every product custom field that is switched on appears here.
Select Save product.
For a table field, select Add row to add a row and use the delete icon to remove one. To manage the fields themselves, select Custom fields settings in the section.
Category custom fields work the same way in the category form. See Product categories.
Related
Still need help?
Our customer service team is ready to help, or find quick answers in the FAQ.