@if(\Request::route()->getName() == 'get.product.bycategorySlug')
({{ $category->category_name }}) Products List
@elseif(\Request::route()->getName() == 'get.product.bycategory.bycategorySlug.bysubcategorySlug')({{$subcategory->subcategory_name}}) Products List
@elseif(\Request::route()->getName() == 'search.product')Search Products List
@elseif(\Request::route()->getName() == 'latest.product')Latest Products
@endif
@forelse($products as $key => $product)
@empty
{{$product->product_name}}
Date Added:
{{date('d F Y', strtotime($product->publish_date))}}
Licence:
{{$product->subcategory->subcategory_name}}
Category:
{{$product->category->category_name}}
Price:
{{setPriceFormat($product->price)}}
{!! html_cut($product->product_details, 200) !!}
More...
Sorry! No Product Found.
@endforelse-
{{-- $products->links() --}}
{{$products->links('pagination::bootstrap-4')}}