Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Detecting change when inventory updated via php script which uses Magento\CatalogInventory\Api\StockRegistryInterface #12

Open
skmujahed opened this issue Feb 14, 2022 · 1 comment

Comments

@skmujahed
Copy link

skmujahed commented Feb 14, 2022

The Extension is not logging any changes in module when inventory is updated via custom php script which uses StockRegistryinterface

@stijntrinos
Copy link

I had the same problem. The problem is the Trigger event in the database.

The fix is to change the Trigger path in elgentos/magento2-inventory-log/Setup/InstallSchema.php line 181 & 193

cataloginventory/options/inventory_enabled needs to be cataloginventory/options/inventory_enabled

Hope this helps

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

No branches or pull requests

2 participants