@if(count($data) > 0 )
Showing : {{ ($data->currentpage()-1)*$data->perpage()+1 }} - {{ ($data->currentpage()*$data->perpage() < $data->total()) ? $data->currentpage()*$data->perpage() : $data->total() }} of {{ $data->total() }} Total: {{ $data->total() }}
@forelse($data as $product)
{{$product->product_name}}
{{ucfirst($product->product_name)}} ({{ucfirst($product->category->category_name)}})
${{$product->price}}

{{$product->details}}

@forelse($attributes as $attribute)