Global residential page dynamic

This commit is contained in:
Shailesh-1981
2024-06-07 20:05:40 +05:30
parent 43fef7ae46
commit f97f18a37c
3 changed files with 90 additions and 46 deletions

View File

@@ -56,7 +56,7 @@ class IndianRealAssetController extends Controller
$realEstate = RealEstate::with('realEstatePhoto')->where('slug', $slug)->first();
$productData = RealEstate::where('slug', '=', $slug)->first();
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
// dd($productData);
// dd($realEstate);
return view('Frontend.Pages.indian-real-estate.product', compact('realEstate', 'productData'));
}