Zwrot ostatniego wstawionego id mysql opencart

//You need to use this in OpenCart for getting last insert id:
$this->db->getLastId()
Yousef Qaoud