@extends('admin.layout.index')
@section('title')
مشخصات فنی
@endsection
@section('style')
@endsection
@section('script')
@endsection
@section('content')
لیست مشخصات فنی ({{ $product->name }})
نام |
مقدار |
اختصار |
اولویت نمایش |
نمایش در لیست محصولات |
نمایش در جزئیات محصول |
عملیات |
@foreach ($attributes as $attr)
@php
$items=\App\Models\ProductAttribute::where('attribute_id',$attr->id)->where('product_id',$product->id)->get();
@endphp
@foreach ($items as $key => $attribute)
{{ $attribute->attribute->name }}
|
@php
$attribute_values=$attribute->attributeValues($attribute->value,$attribute->attribute_id);
@endphp
@if($attribute_values==null)
{{ $attribute->value }}
@else
{{ $attribute_values->name }}
@endif
|
{{ $attribute->short_text }}
|
{{ $attribute->priority }}
|
|
|
|
@endforeach
@endforeach
@include('admin.products.attributes.modal')
@endsection