@extends('frontend.layouts.app') @section('page_content')
@if(count($product->product_gallery) > 0) @foreach($product->product_gallery as $key => $product_gallery) @if(checkURLExistency($product_gallery->image)) @endif @endforeach @else @endif
@if(count($product->product_gallery) > 0) @foreach($product->product_gallery as $key => $product_gallery) @if(checkURLExistency($product_gallery->image))
@endif @endforeach @else
@endif

{{ strtoupper((!empty($product->dp_series)) ? $product->dp_series : $product->model) }}

{{LangTranslate::translate($product->product_category->name??'',$product->product_category->ar_name??'')}}

@if(!empty($product->dp_heading))

{{LangTranslate::translate($product->dp_heading ?? '',$product->ar_dp_heading ?? '')}}

@endif {{LangTranslate::translate(config('global.get_in_touch.en'),config('global.get_in_touch.ar'))}} @if(count($product->key_features) > 0)

Key Features

    @foreach($product->key_features as $key => $value)
  • {{LangTranslate::translate($value->title??'',$value->ar_title ?? '')}}
  • @endforeach
@endif @if((!empty($product->en_1_en) && !empty($product->en_1_op)) || (!empty($product->en_2_en) && !empty($product->en_2_op)) || (!empty($product->en_3_en) && !empty($product->en_3_op)) || (!empty($product->en_4_en) && !empty($product->en_4_op)))

EN Values

    @if(!empty($product->en_1_en) && !empty($product->en_1_op))
  • EN 1 : {{'EN - '.$product->en_1_en}} | {{'EN O/P - '.$product->en_1_op}}
  • @endif @if(!empty($product->en_2_en) && !empty($product->en_2_op))
  • EN 2 : {{'EN - '.$product->en_2_en}} | {{'EN O/P - '.$product->en_2_op}}
  • @endif @if(!empty($product->en_3_en) && !empty($product->en_3_op))
  • EN 3 : {{'EN - '.$product->en_3_en}} | {{'EN O/P - '.$product->en_3_op}}
  • @endif @if(!empty($product->en_4_en) && !empty($product->en_4_op))
  • EN 4 : {{'EN - '.$product->en_4_en}} | {{'EN O/P - '.$product->en_4_op}}
  • @endif
@endif @if(!empty($product->download_datasheet) || !empty($product->download_ies_files))

{{LangTranslate::translate(config('global.downloads.en'),config('global.downloads.ar'))}}

@if(!empty($product->download_datasheet) && file_exists($product->download_datasheet))
Datasheet
@endif @if(!empty($product->download_ies_files) && file_exists($product->download_ies_files))
IES Files
@php( $ies_ext = pathinfo($product->download_ies_files, PATHINFO_EXTENSION) )
@endif
@endif
@if(!empty($product->length) || !empty($product->dia) || !empty($product->cutout) || !empty($product->height || !empty($product->width)) || !empty($product->mh_wattage) || !empty($product->mh_io_op_vac_in_min) || !empty($product->mh_degree_of_protection) || !empty($product->mh_warranty))

{{LangTranslate::translate(config('global.specifications.en'),config('global.specifications.ar'))}}

@endif
@if(!empty($product->length) || !empty($product->dia) || !empty($product->cutout) || !empty($product->height || !empty($product->width)))
    @if(!empty($product->width))
  • Width (mm)
  • @endif @if(!empty($product->height))
  • Height (mm)
  • @endif @if(!empty($product->length))
  • Length (mm)
  • @endif @if(!empty($product->dia))
  • Dia
  • @endif @if(!empty($product->cutout))
  • Cutout
  • @endif
@endif @if(!empty($product->mh_wattage) || !empty($product->mh_io_op_vac_in_min) || !empty($product->mh_degree_of_protection) || !empty($product->mh_warranty))
    @if(!empty($product->mh_wattage))
  • Wattage (W)
  • @endif @if(!empty($product->mh_io_op_vac_in_min))
  • I/P (Vac)
  • @endif @if(!empty($product->mh_io_op_vac_out))
  • O/P (Vdc)
  • @endif @if(!empty($product->mh_degree_of_protection))
  • Degree of protection (IP)
  • @endif @if(!empty($product->mh_warranty))
  • Warranty (Years)
  • @endif
@endif
@php($accessories = DB::table('products_accessories')->where(['category_id'=>$product->category_id, 'series_id'=>$product->series_id,'status'=>1])->get()) @if(count($accessories) > 0)
@foreach($accessories as $key => $value)
@if(file_exists($value->image)) @else @endif
{{LangTranslate::translate($value->title??'',$value->ar_title??'')}}

{{LangTranslate::translate($value->description && strlen($value->description) > 30?substr($value->description,0,30)."...":$value->description, $value->description && strlen($value->ar_description) > 30?substr($value->ar_description,0,30)."...":$value->ar_description)}}

@if(strlen($value->description) > 30) Read More @endif
@endforeach
@endif @php($frames = $product->getAllFrames($product->category_id, $product->id)) @if(count($frames) > 0)

{{LangTranslate::translate(config('global.frams.en'),config('global.frams.ar'))}}

@foreach($frames as $key => $frame) @if(file_exists($frame->thumb_image))
@if(file_exists($frame->thumb_image)) @else @endif
  • {{LangTranslate::translate($frame->name??'',$frame->ar_name??'')}}
  • : {{LangTranslate::translate($frame->size??'',$frame->ar_size??'')}}
  • : {{LangTranslate::translate($frame->cutout??'',$frame->ar_cutout??'')}}
@endif @endforeach
@endif @if(count($products) > 0)

{{LangTranslate::translate(config('global.related_products.en'),config('global.related_products.ar'))}}

@endif

Have questions about this product?

Get a quote!

@csrf
@endsection