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

🔍 Migrate Single Product

Compare Product Values

Enter a product SKU to see all differences between Magento 1 and Magento 2 values:

🚀 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

Error logs showing which products encountered errors during migration:

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

📦 Migrate Product Options

What happens when you click "Start Product Options Migration"?

The product options migration process will:

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

📊 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:

🔧 Fix Category Products

What does this do?

This tool checks the Magento 2 catalog_category_product table and ensures products are added to categories if they are missing:

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

🌳 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