@if(count($products)>0)
@foreach($products as $key=>$item)
@php
$productimg=DB::table('product_images')->where('product_id',$item->id)->where('is_delete','0')->orderBy('id','ASC')->limit('2')->get()->toArray();
@endphp
@foreach($productimg as $key=>$img)
@php
$imgurl1 = 'assets/images/icons/pricing-two-3.png';
if($img->image_name) {
$imgurl1 = url('/').'/uploads/product_images/'.$img->image_name;
}
@endphp
@endforeach
{{isset($item->product_name)?$item->product_name:''}}
{!!currency()!!}
@if($item->product_type==3)
{{number_format($item->product_price,2)}}
@endif
@if($item->price>0)
{{number_format($item->price,2)}}
@endif
@if($item->description)
- {{isset($item->description)?$item->description:''}}
@endif
@endforeach
@else
Looks like there are no products in this category!
@endif
@if(count($products)>0)
@if($products->currentPage()==1)
@if(count($products)>=16)
@endif
@else
@endif
@endif