Skip to content

Feature/msi plugin - #113

Open
xtremevision wants to merge 9 commits into
macopedia:magento2from
xtremevision:feature/msi-plugin
Open

Feature/msi plugin#113
xtremevision wants to merge 9 commits into
macopedia:magento2from
xtremevision:feature/msi-plugin

Conversation

@xtremevision

Copy link
Copy Markdown
  • Added [msiinventory.php] (plugins/local/itemprocessors/msiinventory/msiinventory.php).
  • Synchronizes the final legacy stock quantity/status during the same product transaction.
  • Defaults to MSI source default and legacy stock ID 1.
  • Supports configuration through:
    MSI:source_code = default
    MSI:legacy_stock_id = 1
  • Safely disables itself when MSI tables aren’t installed.
  • Rejects missing/disabled configured sources and missing legacy stock rows.
  • Handles zero quantity by creating/updating an MSI source item with quantity 0 and disabled status.
  • Preserves Magmi relative-quantity behavior by reading the finalized legacy stock row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant