@if(!empty($fetch_products) && count($fetch_products)) @foreach($fetch_products as $product)
Product

{{ $product->product_name }}

@if($product->product_rating_average != 0)
@php $avg_rating_per = ((5 - (5 - $product->product_rating_average)) / 5) * 100; @endphp
@endif
{{ round(($product->selling_price * 1.10) * ((floatval($product->gst) + 100) / 100)) }}
@endforeach @else
@endif

Showing {{ $fetch_products->firstItem() }}–{{ $fetch_products->lastItem()}} of {{ $fetch_products->total() }} Products

{{ $fetch_products->withQueryString()->links('pagination::bootstrap-4') }}