@extends('front.layout.app') @section('title', 'Product Detail') @section('extra-css') @endsection @section('content')
@include('front.partials.product-detail-sidemenu')
@if(Session::has('success'))
{{Session::get('success')}}
@endif

{{$product->product_name ?? ''}}

Running into an issue ? Contact Us

Price: ${{$product->product_current_price ?? 0.00}}

Product ID : {{$product->id}} @for($i=1; $i<=5; $i++) @if($i <= round($productReviewsCalc['avgRating'])) @else @endif @endfor {{$productReviewsCalc['avgRating'] ?? 0}} out of 5 ({{$productReviewsCalc['totalReviews'] ?? 0}} review)
@csrf @if($multipleDiscPrice == true && $multipleAddPrice == true) @if((isset($product->customize) && $product->customize == 1) || (isset($product->customize_charges) && $product->customize_charges == 1))
@endif @endif @if(isset($product->customize) && $product->customize == 1) @php $display = 'none' @endphp @else @php $display = 'block' @endphp @endif @if($product->customize_charges == 1)
@foreach($product->product_quantities as $product_quantity) @php $quantityCustomizeCharge = $product_quantity->quantity ?? 1; if ($product_quantity->additional_price_customize != 0){ $quantityCustomizeCharge .= '('.$product_quantity->additional_price_customize.')'; } @endphp
first) checked @endif>
@endforeach
@php $display = 'none' @endphp @endif @if($multipleDiscPrice)
@foreach($product->product_quantities as $product_quantity) @php $quantityDiscText = $product_quantity->quantity ?? 1; if($product_quantity->price > 0){ $quantityDiscText .= '(-'.(float)$product_quantity->price.')'; } @endphp
first) checked @endif>
@endforeach
@endif @foreach($product->productOptions as $option) @if ($option->type == 'dropdown' && $option->name == 'Folder Colors:')
@if($option->type == 'dropdown') {{-- --}} @elseif($option->type == 'multiple_select') @elseif($option->type == 'range') @else @foreach($option->productOptionValues as $optionValue) @endforeach @endif
@endif @endforeach @if(isset($product->customize) && $product->customize == 1)
@endif {{--Varaitaion OPTION SECTION--}} @foreach($product->productOptions as $option) @if ($option->type != 'dropdown' || $option->name != 'Folder Colors:')
@if($option->type == 'dropdown') {{-- --}} @elseif($option->type == 'multiple_select') @elseif($option->type == 'range') @else @foreach($option->productOptionValues as $optionValue) @endforeach @endif
@endif @endforeach @php $minOrder = 1; if(!empty($product->product_quantities[0])){ $minOrder = $product->product_quantities[0]->quantity; if (strpos($minOrder, '-')){ $minOrder = explode('-', $minOrder); $minOrder = $minOrder[0]; } } @endphp
{{----}} {{-- @if ($product->product_qty > 0)--}} {{-- @endif--}}

Min Order: {{$minOrder ?? 1}} / -

{{($product->product_current_price) ?? 0.00}}

Description

{!! $product->description ?? '' !!} {{--
  • Size: 12-1/4" x 9-1/2"
  • Embossed score lines for labels
  • Thumbcut for quick opening and access
  • ull and 3/4 sized pockets offer easy access from top and are closed on 3 sides to securely contain contents
  • 50 Box
--}}

Product Reviews

@if(!Auth::check())

Login or Register to write the first review.

@else
{{$productReviewsCalc['totalReviews'] ?? 0}}
@for($i=1; $i<=5; $i++) @if($i <= round($productReviewsCalc['avgRating'])) @else @endif @endfor {{$productReviewsCalc['avgRating'] ?? 0}} out of 5
5 star
{{$productReviewsCalc['fiveStarReview']??0}}%
4 star
{{$productReviewsCalc['fourStarReview']??0}}%
3 star
{{$productReviewsCalc['threeStarReview']??0}}%
2 star
{{$productReviewsCalc['twoStarReview']??0}}%
1 star
{{$productReviewsCalc['oneStarReview']??0}}%
@forelse($productReviews as $productReview)

{{$productReview->author ?? ''}}

{{$productReview->created_at->diffForHumans() ?? ''}}

@for($i=1; $i<=5; $i++) @if($i <= round($productReview->rating)) @else @endif @endfor

{{$productReview->description ?? ''}}

@empty

There are no Reviews for this product

@endforelse
@if(Session::has('success'))
{!! Session::get('success') !!}
@endif @if(Session::has('warning'))
{!! Session::get('warning') !!}
@endif
@csrf

Add a Review

Your Rating *
@error('rating') {{ $message }} @enderror
@error('reviewer_name') {{ $message }} @enderror
@error('comment') {{ $message }} @enderror
{{----}}
@endif
@if (count($mightAlsoLike))

Products You May Like

@foreach($mightAlsoLike as $relatedProduct)

{{$relatedProduct->product_name ?? ''}}

${{$relatedProduct->product_current_price ?? 0.00}}
@endforeach
@endif
@endsection @section('extra-js') @endsection @section('scripts') {{-- --}} {{-- --}} @endsection