This extension was originally written by KiwiCommerce but has been archived since November 2020. Since we (at elgentos) feel this extension is the best inventory logger extension available, we decided to adopt it.
- Keep the log of product inventory for every single transaction. Ex. Product import, Order placed, Insert/Update operation through queries and lot more.
- Admin knows when and why the inventory changed.
- This extension keeps a log of inventory when:
- Order placed from frontend, admin and API
- Product import
- Manually product inventory change by admin
- Directly inventory insert update in a database
- Product created using API
- Credit Memo generation
- Order fail and Cancel
This extension only works on Magento 2.4.x. Upgrade y'all.
composer require elgentos/magento2-inventory-log
php bin/magento setup:upgrade
Navigate to Product > Catalog and Click on edit link of the product. Then click 'Inventory Log' under Quantity option. You'll see a graph plotting the 100 most recent stock movements, and a grid showing all stock movements.
A grid with all stock movement can now be found under Reports > (Products) Stock Movement.
From the Inventory Log Grid, you can click on Graph to see the same graph as on the product edit page;
You need to follow this path. Stores > Configuration > Catalog > Inventory > Stock Options > Inventory Log Enabled.
- Database user must have to get the create trigger permission in order to use this extension.
- After enabling disabled extension using the command, admin/user will have to enable the extension again from the store configuration.
Lots of thanks goes to KiwiCommerce for initially developing this extension. We know open-source maintenance is hard, so we appreciate it!