fixing changes
This commit is contained in:
@@ -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)
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user