# Import from CSV

## Enable importing restaurants from Excel

As usual way of adding manually restaurants this platform has option for adding restaurants from excel files.&#x20;

To enable this option you need to add the **ENABLE\_IMPORT\_CSV** variable in **env** file with **true** value.

If you want to disable this option you need to add **false** value.

```
ENABLE_IMPORT_CSV=true
```

{% hint style="info" %}
&#x20;Only admin users have access to this option.
{% endhint %}

### Excel file data format

This option has predefined format of the excel file for importing the data. Any other format can cause unwanted import of the data.

| name | description | address | restaurant phone | logo | owner email | owner name | owner password | owner phone |
| ---- | ----------- | ------- | ---------------- | ---- | ----------- | ---------- | -------------- | ----------- |
|      |             |         |                  |      |             |            |                |             |

{% file src="<https://75237003-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MF_nXLU_vP0yb_sigBv%2F-MSjh_YlJuLClgtOPraQ%2F-MSji157x1taQEjcI8KB%2Frestaurants.csv?alt=media&token=a437b399-c5c1-4e6f-ae69-05430fe19746>" %}
Example restaurants csv file
{% endfile %}

## Enable importing restaurant items from Excel

As usual way of adding manually restaurant items this platform has option for adding restaurant items from excel files.&#x20;

To enable this option you need to add the **ENABLE\_IMPORT\_CSV** variable in **env** file with **true** value.

If you want to disable this option you need to add **false** value.

```
ENABLE_IMPORT_CSV=true
```

{% hint style="info" %}
Only admin and restaurant owner have access to this option.&#x20;
{% endhint %}

## Excel file data format

This option has predefined format of the excel file for importing the data. Any other format can cause unwanted import of the data.

| name | description | price | category | image |
| ---- | ----------- | ----- | -------- | ----- |
|      |             |       |          |       |

{% file src="<https://75237003-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MF_nXLU_vP0yb_sigBv%2F-MSjh_YlJuLClgtOPraQ%2F-MSjiDFKN_m6zRgSnQhm%2Fitems.csv?alt=media&token=a6287021-f118-4e96-934b-dc962d7a3d47>" %}
Example items csv file
{% endfile %}
