@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 @foreach ($photos as $key => $photo) @endforeach @foreach ($detailedProduct->stocks as $key => $stock) @if ($stock->image != null) @endif @endforeach @foreach ($photos as $key => $photo) @endforeach @foreach ($detailedProduct->stocks as $key => $stock) @if ($stock->image != null) @endif @endforeach {{ $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) {{ translate('Message Seller')}} @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 @if(Auth::check() && Auth::user()->product_bids->where('product_id',$detailedProduct->id)->first() != null) {{ translate('Change Bid')}} @else {{ translate('Place Bid')}} @endif @endif @endif {{ translate('Share')}}: {{ translate('Description')}} @if($detailedProduct->video_link != null) {{ translate('Video')}} @endif @if($detailedProduct->pdf != null) {{ translate('Downloads')}} @endif @if($detailedProduct->auction_product == 0) {{ translate('Reviews')}} @endif
Ended