You also will need a many-to-many relationship between Order and Product assuming a Product can be ordered more than once. This will require a pivot table order_product with product_id and order_id columns by convention. Then the Order model:
// Order
public function products()
{
return $this->belongsToMany(Product::class);
}
// User
public function products()
{
return $this->hasMany(Order::class);
}
Once the relationship has been properly established:
$user = User::with('orders.products')->get()