@extends('layouts.app') @section('content')

📦 Attribute Groups

View attribute groups that organize attributes within attribute sets:

Magento 1 Attribute Groups ({{ $m1AttributeGroups->count() }})

@if($m1AttributeGroups->count() > 0) @foreach($m1AttributeGroups as $group) @php $groupKey = ($group->attribute_set_name ?? 'Default') . '|' . ($group->attribute_group_name ?? ''); $isMissing = $m1AttributeGroupsMissingInM2->contains(function($missingGroup) use ($groupKey) { return ($missingGroup->attribute_set_name ?? 'Default') . '|' . ($missingGroup->attribute_group_name ?? '') === $groupKey; }); @endphp @endforeach
Group ID Group Name Attribute Set Attributes Sort Order Actions
{{ $group->attribute_group_id }} {{ $group->attribute_group_name ?? 'N/A' }} {{ $group->attribute_set_name ?? 'Default' }} {{ $group->attribute_count ?? 0 }} {{ $group->sort_order ?? 0 }} @if($isMissing) @else ✓ Exists @endif
@else
No attribute groups found.
@endif

Magento 2 Attribute Groups ({{ $m2AttributeGroups->count() }})

@if($m2AttributeGroups->count() > 0) @foreach($m2AttributeGroups as $group) @endforeach
Group ID Group Name Attribute Set Attributes Sort Order
{{ $group->attribute_group_id }} {{ $group->attribute_group_name ?? 'N/A' }} {{ $group->attribute_set_name ?? 'Default' }} {{ $group->attribute_count ?? 0 }} {{ $group->sort_order ?? 0 }}
@else
No attribute groups found.
@endif

⚠️ Missing Attributes

These attributes exist in Magento 1 but are missing in Magento 2:

@if($m1AttributesMissingInM2->count() > 0)
@foreach($m1AttributesMissingInM2 as $attr) @endforeach
ID Code Label Type Input Required User Defined Actions
{{ $attr->attribute_id }} {{ $attr->attribute_code }} {{ $attr->frontend_label ?? 'N/A' }} {{ $attr->backend_type ?? 'N/A' }} {{ $attr->frontend_input ?? 'N/A' }} @if($attr->is_required ?? 0) Yes @else No @endif @if($attr->is_user_defined ?? 0) Yes @else No @endif
Total: {{ $m1AttributesMissingInM2->count() }} {{ Str::plural('attribute', $m1AttributesMissingInM2->count()) }} found in Magento 1 but not in Magento 2.
@else
✓ All Magento 1 attributes have matching attribute codes in Magento 2.
@endif

📋 Category Attributes

View all category attributes from Magento 1 and Magento 2

Magento 1 Attributes ({{ $m1Attributes->count() }})

@if($m1Attributes->count() > 0) @foreach($m1Attributes as $attr) @endforeach
ID Code Label Type Input Required
{{ $attr->attribute_id }} {{ $attr->attribute_code }} {{ $attr->frontend_label ?? 'N/A' }} {{ $attr->backend_type ?? 'N/A' }} {{ $attr->frontend_input ?? 'N/A' }} @if($attr->is_required ?? 0) Yes @else No @endif
@else
No attributes found.
@endif

Magento 2 Attributes ({{ $m2Attributes->count() }})

@if($m2Attributes->count() > 0) @foreach($m2Attributes as $attr) @endforeach
ID Code Label Type Input Required
{{ $attr->attribute_id }} {{ $attr->attribute_code }} {{ $attr->frontend_label ?? 'N/A' }} {{ $attr->backend_type ?? 'N/A' }} {{ $attr->frontend_input ?? 'N/A' }} @if($attr->is_required ?? 0) Yes @else No @endif
@else
No attributes found.
@endif
@endsection {{-- CSS is loaded globally via app.css --}} @push('scripts') @vite(['resources/js/attributes.js']) @endpush