@extends('frontend.layouts.app') @section('meta') @endsection @section('content') @if ($customer_product->photos != null) @php $photos = explode(',',$customer_product->photos); @endphp @foreach ($photos as $key => $photo) @endforeach @foreach ($photos as $key => $photo) @endforeach @endif {{ $customer_product->getTranslation('name') }} {{ translate('Price') }}: {{ single_price($customer_product->unit_price) }} @if ($customer_product->unit != null || $customer_product->unit != '') /{{ $customer_product->getTranslation('unit') }} @endif {{ $customer_product->user->name }} {{ $customer_product->location }} {{ str_replace(substr($customer_product->user->phone, 3), 'XXXXXXXX', $customer_product->user->phone) }} {{ $customer_product->user->phone }} {{ translate('Click to show phone number') }} {{ translate('Share') }}: {{ translate('Description') }} @if ($customer_product->video_link != null) {{ translate('Video') }} @endif @if ($customer_product->pdf != null) {{ translate('Downloads') }} @endif getTranslation('description'); ?> @if ($customer_product->video_provider == 'youtube' && isset(explode('=', $customer_product->video_link)[1])) @elseif ($customer_product->video_provider == 'dailymotion' && isset(explode('video/', $customer_product->video_link)[1])) @elseif ($customer_product->video_provider == 'vimeo' && isset(explode('vimeo.com/', $customer_product->video_link)[1])) @endif {{ translate('Download') }} {{ translate('Other Ads of') }} {{ $customer_product->category->getTranslation('name') }} {{ translate('View More') }} @php $products = get_similiar_classified_products($customer_product->category_id, $customer_product->id, 10); @endphp @foreach ($products as $key => $product) @if ($product->conditon == 'new') {{ translate('New') }} @elseif($product->conditon == 'used') {{ translate('Used') }} @endif {{ $product->getTranslation('name') }} {{ single_price($product->unit_price) }} @endforeach @endsection @section('script') @endsection
{{ translate('Click to show phone number') }}