@extends('frontend.layouts.app') @if (isset($category_id)) @php $meta_title = \App\Category::find($category_id)->meta_title; $meta_description = \App\Category::find($category_id)->meta_description; @endphp @elseif (isset($brand_id)) @php $meta_title = \App\Brand::find($brand_id)->meta_title; $meta_description = \App\Brand::find($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')
@isset($category_id) @endisset
@foreach ($customer_products as $key => $product)
{{  $product->getTranslation('name')  }}
@if($product->conditon == 'new') {{translate('new')}} @elseif($product->conditon == 'used') {{translate('Used')}} @endif
{{ single_price($product->unit_price) }}

{{ $product->getTranslation('name') }}

@endforeach
{{ $customer_products->links() }}
@endsection @section('script') @endsection