Reputation: 2935
I can track customer data using
$this->customer->getFirstName();
$this->customer->getLastName();
$this->customer->getEmail();
this way,and is there any similar way to track store data like email, store name
eg: like this $this->store->getEmail();
(this is not working)
Upvotes: 4
Views: 5936
Reputation: 4128
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
Upvotes: 12