Code: Select all
// Store
if (isset($this->request->get['store_id'])) {
$store_id = $this->request->get['store_id'];
} else {
$store_id = 0;
}
Code: Select all
// Store
if (isset($this->request->get['store_id'])) {
$store_id = $this->request->get['store_id'];
} elseif ($this->config->get('config_store_id')) {
$store_id = $this->config->get('config_store_id');
} else {
$store_id = 0;
}