Search by

falconmedia / module-supplier-inventory

falconmedia

Magento 2 Module to use the Stock from your Suppliers in your Inventory

Package info

github.com/falconmedia/magento2-supplier-inventory

Type:magento2-module

pkg:composer/falconmedia/module-supplier-inventory

Statistics

Installs: 13

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 4

1.1.0 2022-07-15 11:09 UTC

This package is auto-updated.

Last update: 2026-11-30 12:57:15 UTC


README

For importing the stock, code from FireGento_FastSimpleImport2 is used. Credits to FireGento

falconmedia/module-supplierinventory

Main Functionalities

Add Inventory Stock from Supplier to Products

Installation

* = in production please use the --keep-generated option

Type 1: Zip file

  • Unzip the zip file in app/code/FalconMedia
  • Enable the module by running php bin/magento module:enable FalconMedia_SupplierInventory
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Type 2: Composer

  • Install the module composer by running composer require falconmedia/module-supplierinventory
  • enable the module by running php bin/magento module:enable FalconMedia_SupplierInventory
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Configuration

Stores > Configuration > FalconMedia > Supplier Inventory > Cron sets how often the stock import runs (Run every (minutes), 1 to 59, default 15) and shows when it last ran.

The scheduled import and bin/magento falconmedia:supplierstock:import without a supplier ID only import suppliers with Include in cron enabled. Toggle it per supplier in the form, inline in the grid, or for a selection through the grid mass actions Enable cron and Disable cron. New suppliers start disabled.

Legacy supplier values

Older databases stored the product attribute supplier with a fixed option list (numbered 1 to 11, one number per supplier). The attribute now stores the supplier_id of the supplier table. Only on a database that still uses the old numbering:

bin/magento falconmedia:supplier:remap-legacy-values                 # dry run: rows per value and result
bin/magento falconmedia:supplier:remap-legacy-values --apply
bin/magento falconmedia:supplier:remap-legacy-values --enable-cron   # also list suppliers with a feed URL to include in cron

Old values are mapped by supplier name; old values without a matching supplier are deleted, values outside the old list are left alone. The command stops on an empty supplier table and refuses a second remap.

Specifications

  • Model

    • Supplier
  • Controller

    • adminhtml > falconmedia_supplierinventory/suppliers/index

Attributes

  • Product - Supplier (supplier)

  • Product - Supplier Stock (supplier_stock)