I want to get all products by category when clicked on category name. I get data from database but couldn\'t load that in view using ajax.
My controller code