Playing about with creating a profile page for customers, which pulls some data from oc_customer database. I can access each customer from the controller file by putting their ID into the getCustomer function.
$customer_info = $this->model_account_customer->getCustomer(x);
I am wanting to do this for a customer profile page where customer_id each has their own page. Which is the thing that I can't understand, how the page for example product and category differentiate from each other - there's product_id=50 which is something and product=51 something completely different. Where is this done (the url and page differentiation)? I can't seem to find how it's done in the controller or model file.
Any tips would be appreciated!
Who is online
Users browsing this forum: No registered users and 11 guests