Categories, SubCategories and products with pagenation

Posted 10 months ago by MrFiliper

Hi, i have these models:


  • id
  • sub_id


  • id
  • name

ane table


  • id
  • category_id
  • product_id

Main category

  • SubCategory 1
  • SubCategory 2

I want to display all items in "Main Category", how can i do that with pagenation? In laravel blade, i can use loop, but i need pagenation.

Please sign in or create an account to participate in this conversation.