Home › Forums › Stock Triggers for WooCommerce › Decrease/increase the stock inventory › Reply To: Decrease/increase the stock inventory
July 28, 2022 at 6:17 am #85921
Hi Rachele,
Sorry for the delay. Your custom action must pass order ID as an argument. I.e., if you have this in your code:
do_action( 'some_action', $order_id );
then you need to set the “Custom triggers” option in our plugin settings to:
some_action
Please give it a try and let me know what you think.