I\'m stuck on this what seems like a simple task.
I have a User that has many Shops that have many Products..
I\'m trying to get all the Pr
You can use this :
\Auth::user()->shops()->with('products')->get()->pluck('products')->flatten();
if you don't want replicate, you can use ->unique()
->unique()