- Issue created by @kaszarobert
We'd like to add extra values to data automatically via code when we subscribe to LocalStockTransactionEvents::LOCAL_STOCK_TRANSACTION_CREATE
. Right now it is not possible, there are no setters in the event's class. We have no other choice than to patch this module, or override the commerce_stock.local_stock_updater
service completely to achieve that right now. It would be better to alter it in that LocalStockTransactionEvent object in a custom module.
Active
1.0
Code