# Settings
# How to clean up the database?
Before you begin the real usage you will probably want to remove all the demo data.
To clean the database go to the Settings menu, then Clean database:
[](https://help.boundless-commerce.com/uploads/images/gallery/2022-11/9aOsnimok-ekrana-2022-11-30-v-22-17-19.png)
In the modal window, you need to type "clean". Warning! All data will be removed: products, categories, orders, users, etc - all the data.
[](https://help.boundless-commerce.com/uploads/images/gallery/2022-11/snimok-ekrana-2022-11-30-v-22-22-02.png)
Then click "Clean database":
[](https://help.boundless-commerce.com/uploads/images/gallery/2022-11/snimok-ekrana-2022-11-30-v-22-25-01.png)
# Order Email Notifications (for customers)
On an order creation or status change an email notification might be sent. By default, there is a notification for the new order, which sends out to a customer if emails is specified:
[](https://help.boundless-commerce.com/uploads/images/gallery/2023-12/snimok-ekrana-2023-12-04-v-18-41-11.png)
### How to customise Email notifications?
When a template is rendered there are available variables:
```json
{
"ORDER_URL": "http://localhost:3000/thank-you/46ce25ce-37e1-4081-a737-420cb7dfe61b",
"ORDER_ID": 29,
"ORDER_PUBLIC_ID": "46ce25ce-37e1-4081-a737-420cb7dfe61b",
"ORDER_SUM": "45.00 $",
"TRACK_NUM": "",
"CUSTOMER_FULLNAME": "John Snow",
"CUSTOMER_FIRSTNAME": "John",
"CUSTOMER_COMMENT": "Some comment from John",
"ITEMS_LIST": "
",
"ITEMS": [
{
"reserve_item_id": 553,
"reserve_id": 122,
"stock_id": null,
"qty": 1,
"created_at": "2023-11-05T11:09:35.587Z",
"completed_at": null,
"item_price_id": 597,
"price_id": 7,
"basic_price": "45.00",
"final_price": "45.00",
"discount_amount": null,
"discount_percent": null,
"item_id": 3650,
"type": "product",
"track_inventory": true,
"available_qty": 20,
"reserved_qty": 0,
"product_id": 180,
"variant_id": null,
"custom_item_id": null,
"status": "published",
"deleted_at": null,
"lang_id": 1,
"product": {
"product_id": 180,
"sku": "2667209",
"has_variants": false,
"title": "Battery Case Odoyo Power+Shell for iPhone 6/6S ",
"url_key": "chekhol-akkumulyator-odoyo-power-shell-dlya-iphone-6-6s",
"default_category_id": 105,
"manufacturer_id": 33,
"tax_status": "taxable",
"tax_class_id": null,
"url": "http://localhost:3000/product/chekhol-akkumulyator-odoyo-power-shell-dlya-iphone-6-6s"
},
"variant": {
"variant_id": null,
"sku": null,
"title": null,
"cases": null,
"size": null
},
"custom_item": {
"custom_item_id": null,
"title": null,
"price": null
},
"commodity_group": {
"group_id": 61,
"type": "material",
"not_track_inventory": false,
"vat": "noVat",
"physical_products": true,
"title": "Default Product type"
},
"image": {
"path": "images/a1/ae/ace20b14fe947ff13822f97a82ac.jpeg",
"width": 725,
"height": 725,
"src": "https://dev-media.boundless-commerce.com/thumb/kirill-office-mac/i1/images/a1/ae/ace20b14fe947ff13822f97a82ac.jpeg?mode=scale&max-size=100"
},
"prices": [
{
"point_id": 1,
"price_id": 7,
"alias": "selling_price",
"currency_id": 4,
"currency_alias": "usd",
"value": 45,
"min": null,
"max": null,
"is_auto_generated": true,
"old": null,
"old_min": null,
"old_max": null
},
{
"point_id": 1,
"price_id": 8,
"alias": "purchase_price",
"currency_id": 4,
"currency_alias": "usd",
"value": 20,
"min": null,
"max": null,
"is_auto_generated": true,
"old": null,
"old_min": null,
"old_max": null
}
],
"labels": [],
"total_price": "45.00",
"total_price_formatted": "45.00 $",
"final_price_formatted": "45.00 $"
}
],
"SITE_URL": "http://localhost:3000"
}
```
Templates are using [Mustache](https://mustache.github.io/) syntax.
There is an example for custom Email notification:
```html
Dear {{CUSTOMER_FULLNAME}},
Thank you so much for your order!
You have selected the following items:
{{#ITEMS}}
-
{{product.sku}} - {{product.title}}
{{qty}} qty
Price: {{final_price_formatted}}
Total: {{total_price_formatted}}
{{/ITEMS}}
Thank you,
Your Support Team
```