Skip to content

Commit

Permalink
Update setting.php - Stock status
Browse files Browse the repository at this point in the history
  • Loading branch information
pemaier committed Apr 21, 2024
1 parent 68f8948 commit 71880ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions upload/admin/controller/setting/setting.php
Expand Up @@ -266,6 +266,11 @@ public function index(): void {
$data['config_api_id'] = $this->config->get('config_api_id');

// Stock
$this->load->model('localisation/stock_status');

$data['stock_statuses'] = $this->model_localisation_stock_status->getStockStatuses();

$data['config_stock_status_id'] = $this->config->get('config_stock_status_id');
$data['config_stock_display'] = $this->config->get('config_stock_display');
$data['config_stock_warning'] = $this->config->get('config_stock_warning');
$data['config_stock_checkout'] = $this->config->get('config_stock_checkout');
Expand Down

0 comments on commit 71880ee

Please sign in to comment.