@if(count($product->productAttributes) > 0)
@foreach($product->productAttributes as $productAttribute)
{{ unserialize($productAttribute->attribute->title)['title_'.app()->getLocale()] }} : |
@if($productAttribute->attribute->type == 'custom')
{{ $productAttribute->value }}
@elseif($productAttribute->attribute->type == 'select')
@php
$valueArray = explode(',', $productAttribute->value);
@endphp
@if(app()->getLocale() == 'ge')
{{ isset($valueArray[0]) ? $valueArray[0] : '' }}
@elseif(app()->getLocale() == 'en')
{{ isset($valueArray[1]) ? $valueArray[1] : '' }}
@endif
@elseif($productAttribute->attribute->type == 'checkbox')
@if($productAttribute->value == 'on')
@else
@endif
@endif
|
@endforeach
@else
Currently no details
@endif
{{ unserialize($product->description)['description_'.app()->getLocale()] }}