> For the complete documentation index, see [llms.txt](https://docs.zapiet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zapiet.com/zapiet-eats/reference/settings.md).

# Settings

## Account

#### Method

```javascript
ZapietEats.getSettings()
```

#### Example response

```json
{
    "pickup_enabled": true,
    "delivery_enabled": true,
    "logo": { 
        "src": "",
        "width": 180,
        "position": "center"
    },
    "animation": {
        "enabled": true
    },
    "advanced": {
        "show_closed_restaurants": true,
        "show_restaurant_address": false,
        "address_format": ""
    },
    "google": {
        "enable_suggestion": false,
        "enable_status_map": false
    },
    "company_name": "Company",
    "language": "en",
    "currency_code": "EUR",
    "translations": {
        "en": {...},
        "config": []
    }
}
```

## Widget

#### Method

```javascript
ZapietEats.getConfig()
```

#### Example Response

```json
{
    "products": {
        "enable_tag_section_name": false
    },
    "custom_styles": {
        "enabled": false,
        "value": ""
    },
    "selectors": {
        "product_quantity": "[name=\"quantity\"]",
        "product_add_to_cart": "[name=\"add\"]",
        "product_add_to_cart_text": "[data-add-to-cart-text]",
        "product_buy_now_button": "[class*=\"payment-button\"]",
        "cart_checkout_button": "[name*=\"checkout\"]",
        "cart_form": "form[action*=\"/cart\"]",
        "cart_update_button": "[name=\"update\"]",
        "cart_express_checkout": "[class*=\"payment-button\"]",
        "product_plus_button": "[class*=\"js-qty__adjust--plus\"]",
        "product_variant_select": "[name=id]",
        "cart_quantity_select": "input[name*=\"updates\"]"
    },
    "google": {
        "api_key": "",
        "enable_suggestion": false,
        "enable_status_map": false
    }
}
```
