# Class Opencart\Admin\Model\Setting\Store

`extends` | `Model`

Class Store

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Setting\Store

Located at admin\model\setting\store.php

Methods
`public` | `addStore(array<string, mixed> $data): int` Add Store Add Store | #
`public` | `editStore(int $store_id, array<string, mixed> $data): void` Edit Store Edit Store | #
`public` | `deleteStore(int $store_id): void` Delete Store Delete Store | #
`public` | `getStore(int $store_id): array<string, mixed>` Get Store Get Store | #
`public` | `getStores(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Stores Get Stores | #
`public` | `createStoreInstance(int $store_id = 0, string $language = '', string $session_id = ''): Registry` Create Store Instance Create Store Instance #### Throws
`Exception` |
| #
`public` | `getTotalStores(): int` Get Total Stores Get Total Stores | #
`public` | `getTotalStoresByLayoutId(int $layout_id): int` Get Total Stores By Layout ID Get Total Stores By Layout ID | #
`public` | `getTotalStoresByLanguage(string $language): int` Get Total Stores By Language Get Total Stores By Language | #
`public` | `getTotalStoresByCurrency(string $currency): int` Get Total Stores By Currency Get Total Stores By Currency | #
`public` | `getTotalStoresByCountryId(int $country_id): int` Get Total Stores By Country ID Get Total Stores By Country ID | #
`public` | `getTotalStoresByZoneId(int $zone_id): int` Get Total Stores By Zone ID Get Total Stores By Zone ID | #
`public` | `getTotalStoresByCustomerGroupId(int $customer_group_id): int` Get Total Stores By Customer Group ID Get Total Stores By Customer Group ID | #
`public` | `getTotalStoresByInformationId(int $information_id): int` Get Total Stores By Information ID Get Total Stores By Information ID | #
`public` | `getTotalStoresByOrderStatusId(int $order_status_id): int` Get Total Stores By Order Status ID Get Total Stores By Order Status ID | #

Methods inherited from Opencart\System\Engine\Model
`__construct(), __get(), __set(), __isset()`

Properties inherited from Opencart\System\Engine\Model
`$registry`

OpenCart API API documentation generated by ApiGen dev-master