@foreach($attrArr as $attrKey => $attrVal) @if(array_key_exists("details_status",$attrVal) && $attrVal['details_status'] == 1) @if ($attr_search = App\Models\Attribute::where('input_name',$attrKey)->first())
{{ App\Models\Attribute::where('input_name', $attrKey)->first()->name }}:
@if($gs->is_attr_cards) @foreach ($attrVal['values'] as $optionKey => $optionVal)
first ? "checked" : "" }}> @if($loop->count > 1) @else
- {{App\Models\AttributeOption::find($optionVal)->name}}
@endif
{{ App\Models\AttributeOption::find($optionVal)->description }}
@endforeach @else @foreach ($attrVal['values'] as $optionKey => $optionVal) @if (App\Models\AttributeOption::where('id', $optionVal)->first())
first ? "checked" : "" }}> @if($loop->count > 1) @else
- {{App\Models\AttributeOption::find($optionVal)->name}}
@endif
@endif @endforeach @endif
@endif @endif @endforeach