Problem/Motivation

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.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

kaszarobert created an issue. See original summary.

kaszarobert’s picture

Issue summary: View changes