fixing changes

This commit is contained in:
Ritikesh yadav
2024-05-15 14:39:18 +05:30
parent 8d37310166
commit fe8d7cf7f7
11 changed files with 35 additions and 14 deletions

View File

@@ -49,7 +49,7 @@ class HomeController extends Controller
public function getAllTopPickProducts()
{
$data['data'] = Product::getAllDetails()->where('top_pick',true)->where('products.status',1)->get();
$data['data'] = Product::getAllDetails()->where('top_pick',true)->where('products.status',1)->where('categories.status',true)->get();
// dd($data['data']);
// foreach($data['data'] as $row)
// {