I would like my customer to login from outside my Opencart Directory.
example my opencart directory: htto://www.example.com/oc
example my login page: htto://www.example.com/login.php
I think its sample to do this. But I need to know which session I need to give to the customer?
Is the below session enough?
Code: Select all
$this->session->data['customer_id'] = $customer_query->row['customer_id'];
Thanks and regards