Using csv we can update customer ids use this code in controller if (($handle = fopen("/chroot/home/*****/*********/html/app/code/Test/Testmodule/Controller/Index/uniqueorder.csv", "r")) !== FALSE) { while (($data = fgetcsv($handle, 10000, ",")) !== FALSE) { $email = $data[2]; // echo $url;die("data"); $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $orderCollection = $objectManager->create('\Magento\Sales\Model\ResourceModel\Order\CollectionFactory'); $collection = $orderCollection->create() ->addAttributeToSelect('*') ...
find some magento simple technical solution easly get solution with wide explanation. how we can use the solution code. Here i am posting what i faced issues and found issues solving solution. Magento is most powerful eCommerce frame work. working in magento framwork finding soluiotn and sharing technical knowledge here.