📡 Database Connections
Magento 1:
{{ $connectionTest['magento1'] ? '✓ Connected' : '✗ Failed' }}
@if(!$connectionTest['magento1'] && isset($connectionTest['magento1_error']))
{{ $connectionTest['magento1_error'] }}
@endif
Magento 2:
{{ $connectionTest['magento2'] ? '✓ Connected' : '✗ Failed' }}
@if(!$connectionTest['magento2'] && isset($connectionTest['magento2_error']))
{{ $connectionTest['magento2_error'] }}
@endif
📊 Statistics
{{ $m1Stores->count() }}
Magento 1 Stores
{{ $m2Stores->count() }}
Magento 2 Stores
{{ $m1CategoriesCount }}
Magento 1 Categories
{{ $m2CategoriesCount }}
Magento 2 Categories
🔄 Store Mapping
Map each Magento 1 store to its corresponding Magento 2 store:
@foreach($m1Stores as $m1Store)
@endforeach
@if($m1Stores->isEmpty())
M1 Store: {{ $m1Store->name }} ({{ $m1Store->code }})
→
No Magento 1 stores found. Please check your database connection.
⚡ Actions
What happens when you click "Start Migration"?
The migration process will:
- Migrate category structure: Create categories in Magento 2 based on the hierarchy from Magento 1, preserving parent-child relationships and positions
- Migrate category attributes: For each mapped store, migrate category names, URL keys, and active status from Magento 1 to Magento 2
- Preserve hierarchy: Maintain the exact category tree structure with proper levels and paths
- Handle existing categories: If a category with the same name and parent already exists in Magento 2, it will be reused instead of creating a duplicate
- Generate logs: Provide detailed migration logs showing which categories were added, updated, or encountered errors
⚠️ Warning: This will modify your Magento 2 database. Make sure you have a backup before proceeding.
Migration in progress...
📋 Migration Logs
Detailed logs showing which categories were added, updated, or encountered errors during migration:
No migration logs yet. Click "Start Migration" to begin.
📊 Category Statistics
{{ $m1CategoriesCount }}
Magento 1 Categories
{{ $m2CategoriesCount }}
Magento 2 Categories
{{ $m1CategoriesCount - $m2CategoriesCount }}
Difference
⚠️ Magento 2 Categories Not Found in Magento 1
These categories exist in Magento 2 but do not have a matching name in Magento 1:
@if($m2CategoriesNotInM1->count() > 0)| ID | Category Name | Level | Status | Root Category | Path |
|---|---|---|---|---|---|
| {{ $category->entity_id }} | {{ $category->name ?? 'Unnamed Category' }} | {{ $category->level ?? 'N/A' }} | {{ ($category->is_active ?? 0) ? 'Active' : 'Inactive' }} | @if(isset($category->root_category_name) && $category->root_category_name !== 'N/A') {{ $category->root_category_name }} @if(isset($category->root_category_id)) (ID: {{ $category->root_category_id }}) @endif @else N/A @endif | {{ $category->path ?? 'N/A' }} |
Total: {{ $m2CategoriesNotInM1->count() }} {{ Str::plural('category', $m2CategoriesNotInM1->count()) }} found in Magento 2 but not in Magento 1.
@else
✓ All Magento 2 categories have matching names in Magento 1.
@endif
🌳 Category Trees
View category hierarchies from Magento 1 and Magento 2
Magento 1 Categories
Loading categories...
Magento 2 Categories
Loading categories...
📦 Attribute Groups
View attribute groups that organize attributes within attribute sets:
Magento 1 Attribute Groups ({{ $m1AttributeGroups->count() }})
@if($m1AttributeGroups->count() > 0)
@else
| Group ID | Group Name | Attribute Set | Attributes | Sort Order |
|---|---|---|---|---|
| {{ $group->attribute_group_id }} | {{ $group->attribute_group_name ?? 'N/A' }} | {{ $group->attribute_set_name ?? 'N/A' }} | {{ $group->attribute_count ?? 0 }} | {{ $group->sort_order ?? 'N/A' }} |
No attribute groups found. Please check your database connection.
@endif
Magento 2 Attribute Groups ({{ $m2AttributeGroups->count() }})
@if($m2AttributeGroups->count() > 0)
@else
| Group ID | Group Name | Attribute Set | Attributes | Sort Order |
|---|---|---|---|---|
| {{ $group->attribute_group_id }} | {{ $group->attribute_group_name ?? 'N/A' }} | {{ $group->attribute_set_name ?? 'N/A' }} | {{ $group->attribute_count ?? 0 }} | {{ $group->sort_order ?? 'N/A' }} |
No attribute groups found. Please check your database connection.
@endif
📋 Category Attributes
View all category attributes from Magento 1 and Magento 2
Magento 1 Attributes ({{ $m1Attributes->count() }})
@if($m1Attributes->count() > 0)
@else
| 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 |
No attributes found. Please check your database connection.
@endif
Magento 2 Attributes ({{ $m2Attributes->count() }})
@if($m2Attributes->count() > 0)
@else
| 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 |
No attributes found. Please check your database connection.
@endif