Magento 2 event/observer for create shipment
问题 I'm trying to send an SMS notification to the client after creating a shipment. In M1 I can do that with this event: <sales_order_shipment_save_after> But in Magento 2 there is no event triggering after creating the shipment. Can anyone advise me, please? 回答1: you can use sales_order_shipment_save_after event for this you need to create etc/events.xml file to define your event <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=