(03-25-2016, 12:59 PM)InsiteFX Wrote: Your product id needs to be passed to the controller from the view link. It sounds like you are not passing the id to the controller, you can check the in the details method by doing a echo $id; exit;
public function details($id){ echo $id; exit; //Get Product Details $data['product'] = $this->Product_model->get_product_details($id); //Load View $data['main_content'] = 'details'; $this->load->view('layouts/main', $data); }