You could also create a service class to compile that information if you envision it being used across multiple controllers/handlers/etc. For example, ProductListingService (for getting lists of products with categories, etc) and CartListingService (the same but for the shopping cart).
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community