This commit is contained in:
rahulshukla-home 2020-04-29 14:35:49 +05:30
parent 65f894689b
commit fee6645138
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ class ProductRepository extends Repository
->where('product_flat.featured', 1)
->where('product_flat.channel', $channel)
->where('product_flat.locale', $locale)
->orderBy('product_id', 'desc');
->inRandomOrder();
})->paginate(4);
return $results;