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

📊 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)
M1 Store: {{ $m1Store->name }} ({{ $m1Store->code }})
@endforeach
@if($m1Stores->isEmpty())

No Magento 1 stores found. Please check your database connection.

@endif

⚡ Actions

What happens when you click "Start Migration"?

The migration process will:

⚠️ 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.
@endsection {{-- CSS is loaded globally via app.css --}} @push('scripts') @vite(['resources/js/migration.js']) @endpush