Success Rate

{{ $total_orders }}

{{ $totalViewCount }}
@if ($totalViewCount>0) {{ number_format($total_orders / $totalViewCount, 2) * 100 }} @else 0 @endif %
Confirmed Orders

{{ $confirmed_orders }}

@if ($total_orders>0) {{ number_format($confirmed_orders / $total_orders, 2) * 100 }} @else 0 @endif %
Cancelled Orders

{{ $cancelled_orders }}

@if ($total_orders>0) {{ number_format($cancelled_orders / $total_orders, 2) * 100 }} @else 0 @endif %

10 Most successful products

@foreach ($products as $product) @endforeach
Product Category Clicks Success Rate
Image description
{{ \Illuminate\Support\Str::limit($product->title, 25, $end = '...') }}

{{ \Illuminate\Support\Str::limit($product->description, 25, $end = '...') }}

{{$product->category->category_name}} {{ $product->view_count }}
@if ($product->view_count > 0) {{ number_format($product->totalOrderedQuantity() / $product->view_count, 2) * 100 }} @else 0 @endif %
View Details