Get all stores

$this->model->load('model/settings/store');

$results = $this->model_setting_store->getStores();

foreach ($results as $result) {
    $data['stores'][] = array(
        'store_id' => $result['store_id'],
        'name'     => $result['name']
    );
}
Last update: Tue, 17 Dec 2019 11:47:14