@extends('frontend.layouts.web.app') @section('meta_title'){{ $detailedProduct->meta_title }}@stop @section('meta_description'){{ $detailedProduct->meta_description }}@stop @section('meta_keywords'){{ $detailedProduct->tags }}@stop @section('meta') @endsection @section('content')
@php $photos = explode(',', $detailedProduct->photos); @endphp

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

@if ($detailedProduct->est_shipping_days)
{{ translate('Estimate Shipping Time')}}: {{ $detailedProduct->est_shipping_days }} {{ translate('Days') }}
@endif

{{ translate('Sold by')}}:
@if ($detailedProduct->added_by == 'seller' && get_setting('vendor_system_activation') == 1) {{ $detailedProduct->user->shop->name }} @else {{ translate('Inhouse product') }} @endif
@if (get_setting('conversation_system') == 1)
@endif @if ($detailedProduct->brand != null) @endif

{{ translate('Auction Will End')}}:
@if($detailedProduct->auction_end_date > strtotime("now"))
@else

Ended

@endif

{{ translate('Starting Bid')}}:
{{ single_price($detailedProduct->starting_bid) }} @if($detailedProduct->unit != null) /{{ $detailedProduct->getTranslation('unit') }} @endif

@if(Auth::check() && Auth::user()->product_bids->where('product_id',$detailedProduct->id)->first() != null)
{{ translate('My Bidded Amount')}}:
{{ single_price(Auth::user()->product_bids->where('product_id',$detailedProduct->id)->first()->amount) }}

@endif @php $highest_bid = $detailedProduct->bids->max('amount'); @endphp
{{ translate('Highest Bid')}}:
@if($highest_bid != null) {{ single_price($highest_bid) }} @endif

@php $min_bid_amount = $highest_bid != null ? $highest_bid+1 : $detailedProduct->starting_bid; @endphp @if($detailedProduct->auction_end_date >= strtotime("now"))
@if(Auth::check() && $detailedProduct->user_id == Auth::user()->id) {{ translate('Seller Can Not Place Bid to His Own Product') }} @else @endif
@endif
{{ translate('Share')}}: