fixing product view issues
This commit is contained in:
@@ -55,8 +55,8 @@ class IndianRealAssetController extends Controller
|
||||
{
|
||||
$realEstate = RealEstate::with('realEstatePhoto')->where('slug', $slug)->first();
|
||||
$productData = RealEstate::where('slug', '=', $slug)->first();
|
||||
$productData = Product::where('id', '=', $productData->products_id)->first();
|
||||
// dd($realEstate);
|
||||
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($productData);
|
||||
return view('Frontend.Pages.indian-real-estate.product', compact('realEstate', 'productData'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user