joongpark Posted June 26, 2012 Share Posted June 26, 2012 I am using following script to mass update stock in Magento with CSV created by our very old ms-dos based DBase. http://www.sonassi.com/knowledge-base/magento-kb/mass-update-stock-levels-in-magento-fast/ It works beautifully with test CSV file. However, my POS creates CSV file but it puts different heading so script does not work. I want to automate the process so is there any way to change the names of headers? Script requires the headers to be ?sku?,?qty? my CSV is ?ITEM?,?STOCK? Can above php script in the link be modified to recognize my CSV headers as sku and qty? Or can php open up the CSV and replace the header with correct name? I am not a programmer so I don't even know where to begin. Any help in coding would be appreciated. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/264775-magento-quick-stock-update-problem/ Share on other sites More sharing options...
arbeitad Posted June 11, 2013 Share Posted June 11, 2013 (edited) You can configure it in Import/Export through Dataflow, where you can assign relation between columns in CSV file. Or you can go through more easy way, just use one from few extensions which we are using Stock Inventory Manager or better one (richer in features) Advanced Admin Products Manager huge time saver in terms of any mass products management tasks or you can pick other helpful Magento Extensions. Hope it will helpful. Edited June 11, 2013 by arbeitad Quote Link to comment https://forums.phpfreaks.com/topic/264775-magento-quick-stock-update-problem/#findComment-1435258 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.