我可以使用跟踪客户数据
$this->customer->getFirstName();
$this->customer->getLastName();
$this->customer->getEmail();
Run Code Online (Sandbox Code Playgroud)
这样,是否有任何类似的方式来跟踪商店数据,如电子邮件,商店名称,例如:像这样$this->store->getEmail(); (这是行不通的)
使用以下内容:
$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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4639 次 |
| 最近记录: |