@php //print_r($attributeData); exit; @endphp
@if(!$categoryAttributes->isEmpty()) @if($inheritAttribute == -1 || ($has_parent==0)) @endif @endif
@php $attWidth = 0; $aW = array(0); @endphp @if(!$categoryAttributes->isEmpty()) @foreach($categoryAttributes as $attribute) @if($categoryDetails->InheritAttribute == 1) @php $disabled = 'disabled = "disabled"'; @endphp @else @php $disabled = ''; @endphp @endif @if($attribute->ColumnWidth > 0) @php $attWidth = $attribute->ColumnWidth; $aW[] = $attribute->ColumnWidth; @endphp @else @php $attWidth = 0; $aW[] = 0; @endphp @endif @endforeach @endif
Attribute ID Attribute Name Width (mm) Sort Delete
{{$attribute->AttributeID}} @if($attribute->isVirtualAttribute == "1")
@elseif($attribute->InstanceAttribute == "1")
@else
@endif
{{$attribute->AttributeName}} {{ $attWidth }} {{$attribute->SortOrder}}
{{ array_sum($aW) }}
@if(($inheritAttribute != 1) || ($has_parent==0))
@endif
@if($has_parent > 0) @if($inheritAttribute == 1)
Attributes shown on Products in this Category are Linked from level above
@php $style = 'style=display:none;'; @endphp
Attributes shown on Products in this Category are Linked from level above
@else @php $style = 'style=display:none;'; @endphp
Attributes shown on Products in this Category are Linked from level above
Attributes shown on Products in this Category are Not Linked from level above
@endif @endif