@extends('frontend.template-1.partials.master') @section('content') @include('frontend.template-1.breadcrumb.breadcrumb')
image image
image
@foreach ($img_galleries as $img_gallery)
image
@endforeach
@foreach ($img_galleries as $img_gallery)
@endforeach

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

{{ $auction_details->getTranslation('short_desc') }}

@if ($auction_details->sale_type == 1) @php $latest_bid = latestBidPrice($auction_details->id); $auctionDate= currentDate() < $auction_details->start_date ? $auction_details->start_date : $auction_details->end_date @endphp @if (isset($latest_bid->bid_amount))

{{ translate('Current bid') }}: {{ currency_symbol() }}{{ $latest_bid->bid_amount ?? $auction_details->min_bid_price }}

@else

{{ translate('Bidding Price') }}: {{ currency_symbol() }}{{ $latest_bid->bid_amount ?? $auction_details->min_bid_price }}

@endif
  • 00
  • {{ translate('Days') }}
  • 00
  • {{ translate('Hours') }}
  • 00
  • {{ translate('Mins') }}
  • 00
  • {{ translate('Secs') }}
@if ($auction_details->start_date < now())
{{ translate('Bid Now') }}
@else
{{ translate('Bid is coming soon') }}
@endif

{{ translate('Bid Amount') }} : {{ translate('Minimum Bid') }} {{ currency_symbol() . ($latest_bid->bid_amount ?? $auction_details->min_bid_price) + 1 }}

@if ($auction_details->start_date < now())
@csrf
@endif
@else
@csrf

{{ translate('Price') }}: @if ($auction_details->sale_price) {{ currency_symbol() }}{{ $auction_details->price }} @endif {{ currency_symbol() }}{{ $auction_details->sale_price ?? $auction_details->price }}

{{ translate('Quantity') }}
@if ($auction_details->start_date < now()) @else
{{ translate('Coming Soon') }}
@endif
@endif
@php $description= prelaceScript(html_entity_decode($auction_details->getTranslation('long_desc'))) @endphp {!! clean($description) !!}
@foreach ($specifications as $specification) @endforeach
{{ $specification->getTranslation('label') }} {{ $specification->getTranslation('value') }}
@if ($auction_details->sale_type == 1)
@endif
@foreach ($live_auctions as $key => $productItem)
@include('frontend.template-1.partials.live_auction')
@endforeach

{{ translate('Review') }} ({{ $product_reviews->count() }}) :

    @if ($product_reviews->count() > 0) @foreach ($product_reviews as $product_review)
  • @if ($product_review->users->image) {{ $product_review->users->custom_id }} @else {{ $product_review->users->custom_id }} @endif
    {{ $product_review->users->fname ? $product_review->users->fname . ' ' . $product_review->users->lname : $product_review->users->username }},
    {{ $product_review->created_at->diffForHumans() }}
      @switch($product_review->rate) @case(1)
    • @break @case(1.5)
    • @break @case(2)
    • @break @case(2.5)
    • @break @case(3)
    • @break @case(3.5)
    • @break @case(4)
    • @break @case(4.5)
    • @break @default
    • @endswitch

    {{ $product_review->comments }}

    @if ($product_review->replies->count() > 0)
      @foreach ($product_review->replies as $reply)
    • @if ($reply->users->image) {{ $reply->users->username }} @else {{ $reply->users->username }} @endif
      {{ $reply->users->fname ? $reply->users->fname . ' ' . $reply->users->lname : $reply->users->username }},
      {{ $reply->created_at->diffForHumans() }}

      {{ $reply->comments }}

    • @endforeach
    @endif
  • @endforeach @else
  • {{ translate('No Review Found') }}

  • @endif
@if ($auction_details->sale_type == 2) @customer @if ($reviewAllow == 0)

{{ translate('Write A Review') }}

@csrf
{{ translate('Be the first to review') }} “{{ $auction_details->name }}”

{{ translate('Your email address will not be published') }}.

{{ translate('Your Rating') }}

@error('rate') {{ $message }} @enderror
@error('review') {{ $message }} @enderror
@endif @endcustomer @endif
@if ($auction_details->author_id)
@if ($auction_details->users->image) pro-pic @else pro-pic @endif
{{ $auction_details->users->fname . ' ' . $auction_details->users->lname ?? $auction_details->users->username }}
{{ $auction_details->users->email }}
  • {{ translate('Member Since') }}:{{ $auction_details->users->created_at->diffForHumans() }}
  • @php $reviews = merchantViewRatings($auction_details->author_id); @endphp
  • {{ translate('Total Item') }}: {{ totalMerchantProduct($auction_details->author_id) }} {{ translate('View All') }}
  • {{ translate('Total Sale') }}:{{ totalSaleMerchant($auction_details->author_id) }}
{{ translate('Marchant Rating') }}
    @switch($reviews->avg('rate') ?? 0) @case(1)
  • @break @case(1.5)
  • @break @case(2)
  • @break @case(2.5)
  • @break @case(3)
  • @break @case(3.5)
  • @break @case(4)
  • @break @case(4.5)
  • @break @case(5)
  • @break @default
  • @endswitch
  • ({{ $reviews->avg('rate') ?? 0 }})
{{ $reviews->count() }} {{ translate('Reviews') }}
@endif @if ($randomBlog) @endif
@endsection