# Regions

## Region aware

By default, the shop doesn't filter data according to the user region.
To do so, you must first activate it from middleware or from a service provider like so:

```php
shop()->regionAware(); // The default region is used
```

When enabled, scopes are applied to all eloquent queries that depend on regions. You can also specify the current region:

```php
shop()->setRegion('europe');
```

To disable this feature, just turn it off:

```php
shop()->regionAware(false);
```
