#38 stock_id support not working

open
core (16)
5
2012-09-20
2012-05-21
smc
No

Dear dweeves

Thanks for your great work!

On the wiki page you describe the support of multiple stock update:
http://sourceforge.net/apps/mediawiki/magmi/index.php?title=Update_stock_/_prices

Unfortunately this feature is not working.
sku,qty,stock_id
00001,+2,1
00001,-2,2

In this example you have two times the sku "0001". The import routine will only call the function updateStock() only once, because there is a check if the sku already was used in the file:

if(!$this->_same)
{
//update stock
$this->updateStock($pid,$item,$isnew);
}

Currently only for the first line, the stock item is updated. It's not possible to import multiple stocks at the same time.

Could you have a look at this or change the wiki page?

Discussion


Log in to post a comment.