# 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://912547332-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRvYy02Z4zD5OD7PLtd%2F-MSjiSSeSwa21ODXbS8q%2F-MSjie65bo_2AzZ65RAg%2Frestaurants.csv?alt=media&token=11fe2b32-0447-418b-ab28-f27eaaeb096c>" %}
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://912547332-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRvYy02Z4zD5OD7PLtd%2F-MSjiSSeSwa21ODXbS8q%2F-MSji_6bNDYY5fTKwv5_%2Fitems.csv?alt=media&token=b984422f-4cd5-48c4-a017-c0e8c19e8a41>" %}
example items csv file
{% endfile %}
