Model
The model used isShopper\Core\Models\Zone.
| Name | Type | Required | Notes |
|---|---|---|---|
id | autoinc | auto | |
name | string | yes | |
slug | string | no | Unique, default value is auto generated using zone name |
code | string | no | Unique, Nullable |
is_enabled | boolean | no | Default false |
metadata | array | no | Nullable |
currency_id | int | yes | Int (Currency object via the currency relation) |
Components
The components used to manage zones are found in the component configuration fileconfig/shopper/components/setting.php. This configuration file is not available by default.
But if you want to update or change the settings components, you can publish them with the command