Skip to content

Inventory Log

Why This Extension

    • 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 any transaction affects inventory.
    • 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

How view inventory log

    • Navigate to Products > Catalog

      Navigate

    • Click on Edit link of a product

      Product Grid

    • Click on Inventory Log link to view product inventory movement

      Product View

    • This grid display product inventory log

      Inventory Grid

Note: We can enable or disable extension using the Setting section

Configuration

Security

    • Admin can control view of Inventory Grid for the different admin users.

      ACL

Constraints

    • The database user must have to get the create trigger permission to use this extension.
    • After enabling disabled extension using the command, admin user has to enable the extension again from the store configuration.

Installation

    1. Composer Installation

      • Navigate to your Magento root folder

        cd path_to_the_magento_root_directory
        
      • Then run the following command

        composer require kiwicommerce/module-inventory-log
        
      • Make sure that composer finished the installation without errors.

    2. Command Line Installation

      • Backup your web directory and database.
      • Download Inventory Log installation package from Github.
      • Upload contents of the Inventory Log installation package to your Magento root directory.
      • Navigate to your Magento root folder

        cd path_to_the_magento_root_directory
        
      • Then run the following command

        php bin/magento module:enable KiwiCommerce_InventoryLog
        
      • Log out from the backend and log in again.

    3. After install the extension, run the following command

      php bin/magento setup:upgrade
      php bin/magento setup:di:compile
      php bin/magento setup:static-content:deploy
      php bin/magento cache:flush
      
    4. Log out from the backend and log in again.

    5. Enable the extension from Store Configuration
    6. That’s it.

Uninstall Module

    1. Uninstall using Composer

      • In the SSH console of your server, navigate to your Magento root folder

        cd path_to_the_magento_root_directory
        
      • Then run the following command

        composer remove kiwicommerce/module-inventory-log
        
    2. Uninstall manually

      • In the SSH console of your server, navigate to your Magento root folder

        cd path_to_the_magento_root_directory
        
      • Disable the module by executing below commands.

        php bin/magento module:disable KiwiCommerce_InventoryLog
        php bin/magento setup:upgrade
        php bin/magento setup:di:compile
        php bin/magento setup:static-content:deploy
        
      • Remove extension files.

        rm -rf app/code/KiwiCommerce/InventoryLog
        
      • Database Table

        • There will be one table automatically installed in the database named
          kiwicommerce_stock_movement