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

🚀 Product Migration

What happens when you click "Start Product Migration"?

The product migration process will:

⚠️ Warning: This will modify your Magento 2 database. Make sure you have a backup before proceeding.

📋 Product Migration Logs

Detailed logs showing which products were added, updated, or encountered errors during migration:

No product migration logs yet. Click "Run Dry Run" or "Start Product Migration" to begin.

📊 Product Statistics

{{ $m1Products->count() }}
Magento 1 Products
{{ $m2Products->count() }}
Magento 2 Products
{{ $m1ProductsNotInM2->count() }}
M1 Products Not in M2
{{ $m2ProductsNotInM1->count() }}
M2 Products Not in M1
@if($m1ProductsNotInM2->count() > 0)

⚠️ Magento 1 Products Not in Magento 2

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

@foreach($m1ProductsNotInM2->take(50) as $product) @endforeach
ID SKU Name Type Status
{{ $product->entity_id }} {{ $product->sku ?? 'N/A' }} {{ $product->name ?? 'Unnamed Product' }} {{ $product->type_id ?? 'N/A' }} @if(($product->status ?? 0) == 1) Enabled @else Disabled @endif
@if($m1ProductsNotInM2->count() > 50)

Showing first 50 of {{ $m1ProductsNotInM2->count() }} products.

@endif
@endif @if($m2ProductsNotInM1->count() > 0)

⚠️ Magento 2 Products Not in Magento 1

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

@foreach($m2ProductsNotInM1->take(50) as $product) @endforeach
ID SKU Name Type Status Actions
{{ $product->entity_id }} {{ $product->sku ?? 'N/A' }} {{ $product->name ?? 'Unnamed Product' }} {{ $product->type_id ?? 'N/A' }} @if(($product->status ?? 0) == 1) Enabled @else Disabled @endif
@if($m2ProductsNotInM1->count() > 50)

Showing first 50 of {{ $m2ProductsNotInM1->count() }} products.

@endif
@endif

🔄 Sync Product Categories

Sync product category assignments from Magento 1 to Magento 2:

🌳 Category Tree with Products

View all categories with their associated products in a tree structure

Magento 1 Categories

Click the button above to load categories with products

Magento 2 Categories

Click the button above to load categories with products
@endsection {{-- CSS is loaded globally via app.css --}} @push('scripts') @vite(['resources/js/products.js']) @endpush