---
description: Enable importing data from Excel files.
---

# 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://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M4toYEJiYhhv2s6XfEx%2F-M4tq42OUAtUYC2EWVQ6%2Frestaurants.csv?alt=media&token=41f88304-49bb-476d-9199-8b62b0e2c513" %}
Example restaurants excel 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://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M4tkdTV4dKrmnBHMRSL%2F-M4toHfp8cddVqUr-LC7%2Fitems.csv?alt=media&token=b8c478db-3268-4d72-a56d-a5e4400080ce" %}
Example items excel file
{% endfile %}
