@php $value = explode(',', App\Models\Product\Attribute\Value::where('product_id', '=', $product->id)->where('attribute_id', '=', $attribute->id)->value('value')); @endphp
@if(!empty($attribute->unit_before))
{{ $attribute->unit_before }}
@endif @if(!empty($attribute->unit_after))
{{ $attribute->unit_after }}
@endif
@if(!empty($attribute->unit_before))
{{ $attribute->unit_before }}
@endif @if(!empty($attribute->unit_after))
{{ $attribute->unit_after }}
@endif
{{ $errors->first('attribute['.$attribute->id.'][value]') }}