Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
public function hookDisplayAdminCustomers($params)
{
$customer = New CustomerCore ((int)Tools::getAllValues("customerId"));
$link = $this->context->link->getModuleLink($this->name, 'login', array('id_customer' => $customer->id, 'xtoken' => $this->makeToken($customer->id)));
if (!Validate::isLoadedObject($customer)) {
return;
}
return '<div class="col-md-3">
<div class="card">
<h3 class="card-header">
<i class="material-icons">lock_outline</i>
' . $this->l("Login As Customer") . '
</h3>
<div class="card-body">
<p class="text-muted text-center">
<a href="' . $link . '" target="_blank" style="text-decoration: none;">
<i class="material-icons d-block">lock_outline</i>' . $this->l("Login As Customer") . '
</a>
</p>
</div>
</div>
</div>';
}
The one that I fixed is working. The one in the topic header - incorrectly refers to the buyer.Hi, loginascustomer 1.7.6.0 does not work ?