@extends('layouts.front_end') @section('title', 'Product Details') @section('content')
Product Views Product View
@if (session()->has('message'))
{{ session()->get('message') }}
@endif
@php $image_for_poduct_model = ""; @endphp @foreach ($productDetails->ProductImages as $key => $productImage)
@if (isset($productDetails->ProductInfo->youtube_link)) @if ($key == 0) Product Video Video Icon @endif @endif @php $image_for_poduct_model = asset('storage/photo/' . $productImage->image); @endphp
@endforeach {{-- @if (isset($productDetails->ProductInfo->youtube_link)) @foreach ($productDetails->ProductImages as $key => $productImage) @if ($key == 0) Product Video Video Icon @endif @endforeach @endif --}}
@foreach ($productDetails->ProductImages as $productImage)
@endforeach

{{ $productDetails->name }}

@if($productDetails->product_type == '0' || $productDetails->product_type == '1')

@if (!Auth::user()) @if ($currencySymbol) {{ $currencySymbol->symbol }}{{ $productDetails->special_price }} @else {{ $productDetails->special_price }} @endif @elseif(isset(Auth::user()->Contact) && Auth::user()->Contact->contact_type == 'Wholesale') @if ($currencySymbol) {{ $currencySymbol->symbol }}{{ $productDetails->wholesale_price }} @else {{ $productDetails->wholesale_price }} @endif @elseif(isset(Auth::user()->Contact) && Auth::user()->Contact->contact_type != 'Wholesale') @if ($currencySymbol) {{ $currencySymbol->symbol }}{{ $productDetails->special_price }} @else {{ $productDetails->special_price }} @endif @endif @if ($currencySymbol) {{ $currencySymbol->symbol }}{{ $productDetails->regular_price }} @else {{ $productDetails->regular_price }} @endif   @if ($productDetails->special_price) { {{ intval($productDetails->regular_price - $productDetails->special_price) }} @if ($currencySymbol) {{ $currencySymbol->symbol }} @endif @if (isset($language->discount)) {{ $language->discount }} @else discount @endif } @endif

@else {{-- --}} {{-- {{ $currencySymbol->symbol }}--}} {{-- {{ $min_price }} - {{ $currencySymbol->symbol }}{{ $max_price }}--}}
@foreach($productDetails->priceRange as $k => $range) @endforeach

@if($range->is_unlimited == '1') >= {{$range->from_qty}} @else {{$range->from_qty}} - {{$range->to_qty}} @endif @if (isset($language->unit)) {{ $language->unit }} @else পিছ @endif

{{ $currencySymbol->symbol }} @if (Auth::user()) @if (Auth::user()->Contact) @if (Auth::user()->Contact->contact_type == 'Wholesale') {{ $range->sale_price_with_commission }} @else {{ $range->sale_price_with_commission }} @endif @endif @else {{ $range->sale_price_with_commission }} @endif


{{-- Show Price List--}} @endif
{{-- Start Guarantee --}}
গ্যারান্টি: @if ($productDetails->guarantee == 100) দোকান ওয়ারেন্টি @elseif ($productDetails->guarantee == 99) ১ বছরের ওয়ারেন্টি @elseif ($productDetails->guarantee == 98) ২ বছরের ওয়ারেন্টি @elseif ($productDetails->guarantee != 0) {{ $productDetails->guarantee }}  মাস @else নাই @endif
{{-- End Guarantee --}}
সর্বনিম্ন অর্ডার: {{ $min_order_quantity }}   @if (isset($language->unit)) {{ $language->unit }} @else পিছ @endif
{{ $productDetails->in_stock }} @if ($productDetails->StockManager->stock_in_opening > 0) : {{ $productDetails->StockManager->stock_in_opening }} পিছ @endif
{{--

@if ($productDetails->ProductInfo) {{ $productDetails->ProductInfo->long_description }} @endif

--}} @if ($productDetails->color)

Color: @foreach ($color as $color) @endforeach

@endif @if ($productDetails->size) Size: @foreach ($size as $size) @endforeach

@endif @if ($productDetails->in_stock != 'Out of Stock') @if($productDetails->product_type == '0' || $productDetails->product_type == '1') @php $productQuantity = isset($cardBadge['data']['products'][$productDetails->id]['quantity']) ? $cardBadge['data']['products'][$productDetails->id]['quantity'] : 0; @endphp @php $minimumQuantity = $min_order_quantity; $orderQuantity = 0; if (isset($cardBadge['data']['products'][$productDetails->id])) { if($cardBadge['data']['products'][$productDetails->id]['is_multiplication'] == 1){ $minimumQuantity = $cardBadge['data']['products'][$productDetails->id]['minimum_order_quantity']; }else{ $minimumQuantity = $cardBadge['data']['products'][$productDetails->id]['multiplication_value']; } $orderQuantity = $cardBadge['data']['products'][$productDetails->id]['quantity']; } @endphp
@if($productDetails->product_type == '1') @if(count($product_models) > 0)

Already Selected Model

Total Qty : 00

Sub Total : 00

মডেল সিলেক্ট করুন:

@foreach($product_models as $model_key => $_multi_model) @endforeach
@endif @endif
@elseif($productDetails->product_type == '2') @php $productQuantity = isset($cardBadge['data']['products'][$productDetails->id]['quantity']) ? $cardBadge['data']['products'][$productDetails->id]['quantity'] : 0; @endphp
{{-- --}} {{-- --}} {{-- --}}
-
+
@if ($productDetails->in_stock == 'Out of Stock') @if (isset($language->sold_out_button_text)) {{ $language->sold_out_button_text }} @else Sold Out @endif @else @if (isset($language->sell_button_text)) {{ $language->sell_button_text }} @else Buy Now @endif @endif @php $minimumQuantity = $min_order_quantity; $orderQuantity = 0; if (isset($cardBadge['data']['products'][$productDetails->id])) { if($cardBadge['data']['products'][$productDetails->id]['is_multiplication'] != 1){ $minimumQuantity = $cardBadge['data']['products'][$productDetails->id]['minimum_order_quantity']; }else{ $minimumQuantity = $cardBadge['data']['products'][$productDetails->id]['multiplication_value']; } $orderQuantity = $cardBadge['data']['products'][$productDetails->id]['quantity']; } @endphp Contact) @if (Auth::user()->Contact->contact_type == 'Wholesale') data-product-price="{{ $range_first_price_without }}" @else data-product-price="{{ $range_first_price }}" @endif @endif @else data-product-price="{{ $range_first_price }}" @endif data-product-quantity="{{ $productQuantity ? $productQuantity : $productDetails->min_order_qty }}" data-product-minimum-quantity="{{ $minimumQuantity }}" data-product-guarantee="{{ $productDetails->guarantee }}" @if ($productDetails->ProductImageFirst) data-product-image="{{ asset('storage/photo/' . $productDetails->ProductImageFirst->image) }}" @endif data-toggle="modal" data-target=".bd-example-modal-sm" style="color: #ff5c00;"> @if ($productDetails->in_stock == 'Out of Stock') @if (isset($language->sold_out_button_text)) {{ $language->sold_out_button_text }} @else Sold Out @endif @else @if (isset($language->sell_button_text)) {{ $language->sell_button_text }} @else Buy Now @endif @endif
@endif @endif

ক্যাটাগরি : {{ $productDetails->Category->name }}

ব্রান্ড: {{ $productDetails->Brand->name }}

{{ $productDetails->Vendor->business_name }}
@php $rating_value_count = 0; $rating_product_count = 0; foreach ($productDetails->Vendor->Products as $vendorProduct){ foreach ($vendorProduct->Review as $vendor_review){ $rating_product_count++; $rating_value_count = $rating_value_count + $vendor_review->rating; } } $count_vendor_rating_star = 0; if($rating_value_count > 0){ $count_vendor_rating_star = round($rating_value_count / $rating_product_count); } if($count_vendor_rating_star >= 5){ $count_vendor_rating_star = 5; } @endphp

@for ($i = 1; $i <= $count_vendor_rating_star; $i++) @endfor @for ($i = (5 - $count_vendor_rating_star); $i >= 1; $i--) @endfor

{{-- ★★★★★--}}

★ {{ $productDetails->Vendor->account_type }}

★ Followers: @php $vendor_followers = App\Models\FrontEnd\Follower::select('id', 'user_id', 'vendor_id') ->where('status', 'follow') ->where('vendor_id', $productDetails->Vendor->id) ->get(); @endphp {{ $vendor_followers->count() }}


@if ($productDetails->Vendor) @if ($productDetails->Vendor->about_vendor)

★{{ $productDetails->Vendor->about_vendor }}

@endif @endif
{{--

Product Details

--}}
{{--
{{$productDetails->name}}
--}}

{!! $productDetails->ProductInfo->short_description !!}

{!! $productDetails->ProductInfo->long_description !!}

{!! $productDetails->ProductInfo->meta_description !!}

Return Policy

  • {!! $companyInfo->return_policy !!}

Product Details

The Christina Fashion

Cramond Leopard & Pythong Print Anorak Jacket In Beige but also the leap into electronic typesetting, remaining Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

  • 65% poly, 35% rayon
  • Hand wash cold
  • Partially lined
  • Hidden front button closure with keyhole accents
  • Button cuff sleeves
  • Made in USA

Product Details

The Christina Fashion

Cramond Leopard & Pythong Print Anorak Jacket In Beige but also the leap into electronic typesetting, remaining Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

  • 65% poly, 35% rayon
  • Hand wash cold
  • Partially lined
  • Hidden front button closure with keyhole accents
  • Button cuff sleeves
  • Made in USA

Product Details

The Christina Fashion

Cramond Leopard & Pythong Print Anorak Jacket In Beige but also the leap into electronic typesetting, remaining Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

  • 65% poly, 35% rayon
  • Hand wash cold
  • Partially lined
  • Hidden front button closure with keyhole accents
  • Button cuff sleeves
  • Made in USA
{{--
--}}

Product Reviews

{{ $total_review }} review for {{ $productDetails->name }}
@foreach ($RatingReviews as $RatingReview)
  • {{-- img --}} img
    @if (auth()->user()) {{ auth()->user()->name }} @endif -{{ $RatingReview->created_at->format('d M Y') }}
    @for ($i = 1; $i <= $RatingReview->rating; $i++) @endfor

    {{ $RatingReview->comments }}

    @if ($RatingReview->attachment) img @endif
@endforeach

{{ $RatingReviews->links() }}
@if (session()->has('message'))
{{ session()->get('message') }}
@endif
@csrf
@guest Login TO Review @else @endguest
@endsection @section('script') @endsection