Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/264775-magento-quick-stock-update-problem/
Share on other sites

  • 11 months later...

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 by arbeitad
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.