{{ __('translate.Trending Product') }}

@foreach($products->where('is_trending',1) as $product)
thumb
@if($product->offer_price != null ) {{ (int) $product->offer_price }}{{ __('translate.% Off') }} @endif
@if($product->reviews->isNotEmpty() ) @php $avgRating = $product->reviews->avg('rating'); @endphp
    @for($i = 1; $i <= 5; $i++)
  • @endfor
@endif

{{ $product->translate->name }}

{!! $product->price_display !!}

@endforeach