@extends('frontend.layout') @section('pageHeading') {{ __('Products') }} @endsection @section('metaKeywords') @if (!empty($seoInfo)) {{ $seoInfo->meta_keyword_products }} @endif @endsection @section('metaDescription') @if (!empty($seoInfo)) {{ $seoInfo->meta_description_products }} @endif @endsection @section('style') @endsection @section('content') @includeIf('frontend.partials.breadcrumb', [ 'breadcrumb' => $bgImg->breadcrumb, 'title' => !empty($pageHeading) ? $pageHeading->products_page_title : __('Products'), ])
@includeIf('frontend.shop.side-bar')
@if ($total_products > 0)

{{ $total_products }} {{ $total_products > 1 ? __('Products') : __('Product') }} {{ __('Found') }}

@endif
  • @if (!empty(request()->input('category'))) @endif @if (!empty(request()->input('min'))) @endif @if (!empty(request()->input('max'))) @endif
@if ($total_products == 0)

{{ __('NO PRODUCT FOUND') . '!' }}

@else @foreach ($products as $product)
{{ $product->title }} @if ($product->product_type == 'digital') {{ $product->product_type }} @endif @if ($product->product_type == 'physical') @if ($product->stock == 0)
{{ __('Stock Out') }}
@endif @endif @if ($product->product_type == 'physical') @if ($product->stock != 0) @endif @endif @if ($product->product_type == 'digital') @endif
{{ strlen($product->title) > 50 ? mb_substr($product->title, 0, 50, 'UTF-8') . '...' : $product->title }}
{{ symbolPrice($product->current_price) }}
@if (!empty($product->previous_price)) {{ symbolPrice($product->previous_price) }} @endif
@endforeach @endif
@if (!empty(showAd(3)))
{!! showAd(3) !!}
@endif
@endsection @section('script') @endsection