cancel
Showing results for 
Search instead for 
Did you mean: 

It is possible to import magento 1.7 orders into magento 2.5 ? If possible then how.

It is possible to import magento 1.7 orders into magento 2.5 ? If possible then how.

I imported magento 1.7 orders into magento 2.5 but getting error while view order in admin panel. 

1 exception(s):
Exception #0 (InvalidArgumentException): Unable to unserialize value.

Exception #0 (InvalidArgumentException): Unable to unserialize value.
#0 /var/www/html/bpmsport/vendor/magento/framework/Model/ResourceModel/AbstractResource.php(153): Magento\Framework\Serialize\Serializer\Json->unserialize('a:2:{s:15:"info...')
#1 /var/www/html/bpmsport/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(505): Magento\Framework\Model\ResourceModel\AbstractResource->_unserializeField(Object(Magento\Sales\Model\Order\Item\Interceptor), 'product_options', Array)
#2 /var/www/html/bpmsport/vendor/magento/module-sales/Model/ResourceModel/Order/Item/Collection.php(62): Magento\Framework\Model\ResourceModel\Db\AbstractDb->unserializeFields(Object(Magento\Sales\Model\Order\Item\Interceptor))
#3 /var/www/html/bpmsport/vendor/magento/framework/Data/Collection/AbstractDb.php(588): Magento\Sales\Model\ResourceModel\Order\Item\Collection->_afterLoad()
#4 /var/www/html/bpmsport/vendor/magento/framework/Data/Collection/AbstractDb.php(559): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false)
#5 /var/www/html/bpmsport/vendor/magento/framework/Data/Collection.php(831): Magento\Framework\Data\Collection\AbstractDb->load()
#6 /var/www/html/bpmsport/vendor/magento/module-sales/Model/Order.php(1271): Magento\Framework\Data\Collection->getIterator()
#7 /var/www/html/bpmsport/generated/code/Magento/Sales/Model/Order/Interceptor.php(622): Magento\Sales\Model\Order->getItemsCollection(Array, false)
#8 /var/www/html/bpmsport/vendor/magento/module-sales/Model/Order.php(1947): Magento\Sales\Model\Order\Interceptor->getItemsCollection()
#9 /var/www/html/bpmsport/generated/code/Magento/Sales/Model/Order/Interceptor.php(1233): Magento\Sales\Model\Order->getItems()
#10 /var/www/html/bpmsport/vendor/magento/module-sales/Model/Order/ShippingAssignmentBuilder.php(86): Magento\Sales\Model\Order\Interceptor->getItems()
#11 /var/www/html/bpmsport/vendor/magento/module-sales/Model/OrderRepository.php(198): Magento\Sales\Model\Order\ShippingAssignmentBuilder->create()
#12 /var/www/html/bpmsport/vendor/magento/module-sales/Model/OrderRepository.php(108): Magento\Sales\Model\OrderRepository->setShippingAssignments(Object(Magento\Sales\Model\Order\Interceptor))
#13 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Sales\Model\OrderRepository->get('1565')
#14 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Sales\Model\OrderRepository\Interceptor->___callParent('get', Array)
#15 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Sales\Model\OrderRepository\Interceptor->Magento\Framework\Interception\{closure}('1565')
#16 /var/www/html/bpmsport/generated/code/Magento/Sales/Model/OrderRepository/Interceptor.php(26): Magento\Sales\Model\OrderRepository\Interceptor->___callPlugins('get', Array, Array)
#17 /var/www/html/bpmsport/vendor/magento/module-sales/Controller/Adminhtml/Order.php(155): Magento\Sales\Model\OrderRepository\Interceptor->get('1565')
#18 /var/www/html/bpmsport/vendor/magento/module-sales/Controller/Adminhtml/Order/View.php(26): Magento\Sales\Controller\Adminhtml\Order->_initOrder()
#19 /var/www/html/bpmsport/generated/code/Magento/Sales/Controller/Adminhtml/Order/View/Interceptor.php(24): Magento\Sales\Controller\Adminhtml\Order\View->execute()
#20 /var/www/html/bpmsport/vendor/magento/framework/App/Action/Action.php(107): Magento\Sales\Controller\Adminhtml\Order\View\Interceptor->execute()
#21 /var/www/html/bpmsport/vendor/magento/module-backend/App/AbstractAction.php(229): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#22 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Backend\App\AbstractAction->dispatch(Object(Magento\Framework\App\Request\Http))
#23 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Sales\Controller\Adminhtml\Order\View\Interceptor->___callParent('dispatch', Array)
#24 /var/www/html/bpmsport/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): Magento\Sales\Controller\Adminhtml\Order\View\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#25 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Magento\Sales\Controller\Adminhtml\Order\View\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#26 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Sales\Controller\Adminhtml\Order\View\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#27 /var/www/html/bpmsport/generated/code/Magento/Sales/Controller/Adminhtml/Order/View/Interceptor.php(39): Magento\Sales\Controller\Adminhtml\Order\View\Interceptor->___callPlugins('dispatch', Array, NULL)
#28 /var/www/html/bpmsport/vendor/magento/framework/App/FrontController.php(55): Magento\Sales\Controller\Adminhtml\Order\View\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#29 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#30 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#31 /var/www/html/bpmsport/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#32 /var/www/html/bpmsport/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#33 /var/www/html/bpmsport/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#34 /var/www/html/bpmsport/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch()
#35 /var/www/html/bpmsport/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http\Interceptor->launch()
#36 /var/www/html/bpmsport/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
1 REPLY 1

Re: It is possible to import magento 1.7 orders into magento 2.5 ? If possible then how.

Yes you can do all the data by magento migration tool which is provided by magento devdocs.

 

Magento Migration Docs You need to follow this link step by step and all works fine.

Beware you need to first do it in blank magento 2 no any data.