Hi,
After migration product id are different, We need same product id in magento2.
1 answer
Hi bemaad15,
After migration product id are different, We need same product id in magento2.
To retail the products ids, you can do as steps bellow:
-- Reset data migration in the step #5.
-- Open the php file at the path: pub/ub-tool/protected/controllers/Step5Controller.php
And find to the code line:
if ($key != 'entity_id' AND isset($product->$key)) { //we don't take old product id
And replace it by code line:
if (isset($product->$key)) {
And then, you can retail your products ids from Magento1 to Magento2 in data migration for this step.
Note: This option only working with a Magento2 fresh instance.
Regards,
Mall.