@extends('frontend.layouts.app') @php $title = trim($data['product']->meta_title); if($title == null || $title == 'NULL') $title = $data['product']->name . ' - ' . app_name(); @endphp @section('title', $title) @if(trim($data['product']->meta_keywords) != null) @section('meta_keywords', $data['product']->meta_keywords) @endif @if(trim($data['product']->meta_description) != null) @section('meta_description', $data['product']->meta_description) @endif @if($data['product']->is_canonical == 'Y') @push('head-area') @endpush @endif @section('content')
@if(trim($data['product']->image) != '') @else {{ $data['product']->name }} @endif

{{ $data['product']->name }}

@foreach($data['sub_products'] as $sub_product)

{{ $sub_product->name }}

@endforeach
SKU: {{ $data['product']->sku }}
{!! \App\Models\Product::printStockInformation($data['product']) !!} @if(trim($data['product']->short_description) != null)

{!! nl2br(strip_tags($data['product']->short_description)) !!}

@endif {!! \App\Models\Product::printAddtionalInformation($data['product']) !!}
@foreach($data['sub_products'] as $sub_product)
SKU: {{ $sub_product->sku }}
{!! \App\Models\Product::printStockInformation($data['product']) !!} @if(trim($sub_product->short_description) != null)

{!! nl2br(strip_tags($sub_product->short_description)) !!}

@endif {!! \App\Models\Product::printAddtionalInformation($sub_product) !!}
@endforeach
@csrf @if($data['product']->type == 'variation')
Please select the variation you want to order
@foreach($data['sub_products'] as $sub_product)
@endforeach
@foreach($data['sub_products'] as $sub_product)
@php $price_info = \App\Models\Product::getPriceText($sub_product, 'detail'); echo $price_info['price_text']; @endphp
@endforeach
@else
@php $price_info = \App\Models\Product::getPriceText($data['product'], 'detail'); echo $price_info['price_text']; @endphp
@endif
Categories: @foreach($data['product']->categories as $cats) {{ $cats->name }} @if (!$loop->last) , @endif @endforeach
@if(trim($data['product']->full_description) != null) {!! $data['product']->full_description !!} @endif
@foreach($data['sub_products'] as $sub_product)
@if(trim($sub_product->full_description) != null) {!! $sub_product->full_description !!} @endif
@endforeach
@if(count($data['videos']) > 0)
@foreach($data['videos'] as $video) @php $img_path = 'up_data/products/videos/thumbnails/'.$video->video_thumbnail; if($video->video_thumbnail == '' || !file_exists($img_path)) $img_path = 'up_data/na.jpg'; @endphp
{{ $video->title }}
@endforeach
@endif @if(count($data['files']) > 0) @php $fa_exts = ['.pdf' => 'fa-file-pdf', '.docx' => 'fa-file-word', '.doc' => 'fa-file-word', '.xlsx' => 'fa-file-excel', '.xls' => 'fa-file-excel']; @endphp
@foreach($data['files'] as $file) @php $file_path = 'up_data/products/files/'.$file->name; if($file->name == '' || !file_exists($file_path)) { continue; } $ext = strrchr($file->name,'.'); @endphp @endforeach
@endif
@if(count($data['reviews']) > 0)

{{ count($data['reviews']) }} REVIEW FOR {{ strtoupper($data['product']->name) }}

@foreach($data['reviews'] as $review)
@for($i = 1 ; $i <= 5 ; $i++) @endfor
{{ $review->name }} - {{ date('M d, Y', strtotime($review->created_at)) }}

{{ $review->comments }}

@endforeach @endif {!! Form::open(array('route' => ['frontend.review.store'], 'method' => 'POST', 'id' => 'review_form')) !!} @csrf {!! Form::hidden('product_id', $data['product']->id) !!}

ADD A REVIEW

Thank you! we have received your review and if required we will respond within 48 hours.

Your Rating

       
{!! Form::close() !!}
@if(isset($data['related_products']) && count($data['related_products']) > 0)

Related Products

@endif @if(isset($data['recommended_products']) && count($data['recommended_products']) > 0)

You May Also Like

@endif @push('after-scripts') @if($data['product']->type == 'variation' && $data['sid'] != '') @endif @endpush @endsection