Timeline for Magento 2: Programmatically Updating Inventory
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 26, 2022 at 12:36 | comment | added | Ivan Augusto | And now this is also a deprecated way. Man, I don't know if I feel like the platform is always moving forward or if it just don't gets enough planning | |
Mar 26, 2020 at 18:43 | comment | added | orthener |
And what to do with new product? Did getStockItemBySku($sku); returns something?
|
|
Jun 27, 2019 at 9:17 | comment | added | Anil | Can you help me for this question ? magento.stackexchange.com/questions/279823/… | |
Apr 15, 2019 at 21:03 | comment | added | Mage Explorer | can you help me on this question? magento.stackexchange.com/questions/270215/… | |
Jan 10, 2019 at 17:30 | comment | added | JustinP | Really appreciate the Updated Method! Magento is getting better for all of us because of community members like you doing posts like this! Way to go | |
May 2, 2018 at 18:08 | history | edited | Rafael Corrêa Gomes | CC BY-SA 4.0 |
added 7 characters in body
|
Apr 12, 2017 at 8:56 | review | Suggested edits | |||
Apr 12, 2017 at 9:19 | |||||
Feb 23, 2017 at 5:45 | comment | added | medina | It works great for one product. However, when you reading a CSV file with 5k SKUs the performance is pretty bad. Anyone having the same issue? | |
Nov 16, 2016 at 8:59 | history | edited | Giel Berkers | CC BY-SA 3.0 |
Added correct way to do this
|
Nov 15, 2016 at 16:50 | comment | added | Robert Egginton | setStockData is what is required. There is no need to call ->setQuantityAndStockStatuses, though it seems to do no harm. | |
Apr 14, 2016 at 15:22 | review | Low quality posts | |||
Apr 14, 2016 at 15:35 | |||||
Apr 14, 2016 at 15:04 | history | answered | Giel Berkers | CC BY-SA 3.0 |