diff --git a/resources/views/segments/products/PedramProducts/PedramProducts.blade.php b/resources/views/segments/products/PedramProducts/PedramProducts.blade.php index 1afe899..0e83c04 100644 --- a/resources/views/segments/products/PedramProducts/PedramProducts.blade.php +++ b/resources/views/segments/products/PedramProducts/PedramProducts.blade.php @@ -25,7 +25,7 @@
- @foreach($cat->products()->limit(6)->get() as $product) + @foreach($cat->products()->where('status',1)->orderByDesc('id')->limit(6)->get() as $product)