Timeline for How to get product collection of out of stock items - opposite of addInStockFilterToCollection()?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 4, 2015 at 15:38 | comment | added | Fabian Schmengler |
No rewrite or extending. You can put this method anywhere as it does not use $this . It could as well be plain function. I would create a separate module and make it a helper method (or if you need this for another module, add it to the helper of that module)
|
|
Nov 4, 2015 at 15:29 | comment | added | BrynJ |
Great detailed answer. So you'd suggest creating a module for this, to extend the Mage_CatalogInventory_Model_Stock model?
|
|
Nov 4, 2015 at 13:41 | history | answered | Fabian Schmengler | CC BY-SA 3.0 |