@extends('layouts.front.master') @section('contant')
@if(count($topProduct) > 0) @foreach($topProduct as $top)
@if($top->mark_bestseller == 'Yes')

Bestseller

@endif
{{ Config::get('app.currency_icon') }}{{ $top->price }}

{{ Config::get('app.currency_icon'); }}{{ $top->price_diff }} Off

@if($top->rating != null)
@for($i = 0; $i < 5; $i++) @endfor
@for($i = 0; $i < 5; $i++) @endfor
{{ number_format((float)$top->rating, 1, '.', '') }} ( @if($top->r_count > 1000) {{ round($top->r_count / 1000, 1) . 'k' }} @else {{ $top->r_count }} @endif )
@endif
@endforeach @else

No top courses found.

@endif
@stop