@extends('frontend.layouts.app') @if (isset($category_id)) @php $meta_title = $category->meta_title; $meta_description = $category->meta_description; @endphp @elseif (isset($brand_id)) @php $meta_title = get_single_brand($brand_id)->meta_title; $meta_description = get_single_brand($brand_id)->meta_description; @endphp @else @php $meta_title = get_setting('meta_title'); $meta_description = get_setting('meta_description'); @endphp @endif @section('meta_title'){{ $meta_title }}@stop @section('meta_description'){{ $meta_description }}@stop @section('meta') @endsection @section('content')
@php $activeClasses = "bg-soft-dark mr-2 my-2 text-white"; $inActiveClasses = "preorder-border-dashed m-2 text-muted fw-600"; @endphp
{{-- {{translate('General Products')}} {{translate('Preorder Products')}} --}}

@if(isset($category_id)) {{ $category->getTranslation('name') }} @elseif(isset($query)) {{ translate('Search result for ') }}"{{ $query }}" @else {{ translate('All Products') }} @endif

{{--

{{$product_type == 'preorder_product' ? translate('Preorder Products') : translate('General Products')}}

--}}
@foreach ($products as $key => $product)
@if($product_type == 'preorder_product') @include('preorder.frontend.product_box2',['product' => $product]) @else @include('frontend.'.get_setting('homepage_select').'.partials.product_box_1',['product' => $product]) @endif
@endforeach
{{-- {{ $products->appends(['general_product' => request('general_product')])->links() }} --}}
{{--

{{translate('Preorder Products')}}

@foreach ($preorder_products as $key => $product)
@include('preorder.frontend.product_box2',['product' => $product])
@endforeach
{{ $preorder_products->appends(['preorder_product' => request('preorder_product')])->links() }}
--}}
@endsection @section('script') @endsection