Hello,
I have a shipment plugin and I want to execute code (send an order to a third party website) when a certain order status is reached. At this moment this happens in the plgVmConfirmedOrder method, but that method fires after every order. Does anyone know how to achieve this?
What has a shipment plugin got to do with order status?
payment plugins handle status...
But to notify on status etc I normally use a system or custom plugin and trigger on
function plgVmOnUpdateOrderPayment ($data,$old_order_status)
Quote from: GJC Web Design on June 16, 2020, 20:33:17 PM
What has a shipment plugin got to do with order status?
payment plugins handle status...
But to notify on status etc I normally use a system or custom plugin and trigger on
function plgVmOnUpdateOrderPayment ($data,$old_order_status)
Yeah but my shipment plugin sends the order to a third party. But it only needs to do this when a certain order status is reached.
Ok so I will need an additional plugin to handle this functionality.