Hello
I wrote plugin, which connects with customer's ERP via webservice in order to transfer products and their descriptions.
I fire the transfer when EntityInserted and EntityUpdated events are trigered in admin area when saving product or product variant.
now i found out, that, unfortunately for me, when completing order, if you manage inventory for product, the very same update event is trigered for each product variant or product in case if all product variants stock is = 0.
Is there any way to distinguish between events fired in Admin area and events fired when completing order in store FrontEnd?
Thank you for any answer!
regards, j