range->products() ->where('id', '!=', $product->id) ->where('published', true) ->inRandomOrder() ->get(); return view('fo.pages.products.show', compact('product', 'otherProductModels')); } }