Heya, I have a tab in my admin panel called "items", which displays items of every category. The categories are "Popular" and "suggested" All of the items display correctly with the correct information and there aren't any issues with them on the database side. Now I want these to be on 1 big page, but I want popular and suggested to be on a different page. But it reads the information from items categorized as a specific category. How would I go about creating this page? And no cmd since I have everything on my domain no local. I also need it to create a database table. Via laeravel btw
It would be helpful to post some of your code to understand better. The basic idea is you have an index method that returns all the items(in all categories) to the same view. Then in the same method, you can check if the request is popular or suggested and then do the query there and return to the same view.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community