Все таки
$this->db->query("INSERT INTO " . DB_PREFIX . "customer SET store_id = '"
. (int)$this->config->get('config_store_id') . "', firstname = '"
. $this->db->escape($data['firstname']) . "', lastname = '"
. $this->db->escape($data['lastname']) . "', email = '"
. $this->db->escape($data['email']) . "', telephone = '"
. $this->db->escape($data['telephone']) . "', fax = '"
. $this->db->escape($data['fax']) . "', password = '"
. $this->db->escape(md5($data['password'])) . "', newsletter = '"
. (isset($data['newsletter']) ? (int)$data['newsletter'] : 0)
. "', customer_group_id = '" . (int)$this->config->get('config_customer_group_id')
. "', status = '1', date_added = NOW()");Выглядит не так красиво как
$data['store_id'] = (int)$this->config->get('config_store_id');
$data['customer_group_id'] = $this->config->get('config_customer_group_id');
$data['status'] = 1;
$data['date_added'] = NOW();
$data['password'] = md5($data['password']);
$this->crystal->insert(DB_PREFIX."customer", $data)->execute();Хотя, конечно, кому как удобней.