@extends('frontend.layout') @section('pageHeading') @if (!empty($pageHeading)) {{ $pageHeading->products_page_title }} @endif @endsection @section('metaKeywords') @if (!empty($seoInfo)) {{ $seoInfo->meta_keyword_products }} @endif @endsection @section('metaDescription') @if (!empty($seoInfo)) {{ $seoInfo->meta_description_products }} @endif @endsection @section('content') @includeIf('frontend.partials.breadcrumb', [ 'breadcrumb' => $bgImg->breadcrumb, 'title' => $pageHeading ? $pageHeading->products_page_title : '', ])
@php $position = $currencyInfo->base_currency_symbol_position; $symbol = $currencyInfo->base_currency_symbol; @endphp @if (count($products) == 0)

{{ __('No Product Found') . '!' }}

@else
@foreach ($products as $product)

{{ strlen($product->title) > 35 ? mb_substr($product->title, 0, 35, 'UTF-8') . '...' : $product->title }}

{{ $position == 'left' ? $symbol : '' }}{{ $product->current_price }}{{ $position == 'right' ? $symbol : '' }} @if (!empty($product->previous_price)) {{ $position == 'left' ? $symbol : '' }}{{ $product->previous_price }}{{ $position == 'right' ? $symbol : '' }} @endif
@endforeach
{{ $products->appends([ 'keyword' => request()->input('keyword'), 'category' => request()->input('category'), 'rating' => request()->input('rating'), 'min' => request()->input('min'), 'max' => request()->input('max'), 'sort' => request()->input('sort'), ])->links() }} @endif
{!! showAd(3) !!}
@endsection @section('script') @endsection