user3099298 user3099298 - 1 year ago 84
PHP Question

OpenCart How to get store details to controller

I can track customer data using


this way,and is there any similar way to track store data like email, store name
eg: like this
(this is not working)

Answer Source

Use the following:

$this->config->get('config_name'); // store name
$this->config->get('config_title'); // store title
$this->config->get('config_owner'); // store owner name
$this->config->get('config_email'); // store email