Best answer

Is it possible to trigger an SMS dispatch only when a WooCommerce order status is changed?

  • 17 October 2022
  • 2 replies
  • 21 views

Hello,

Regarding the SMSAPI and WooCommerce integration:

Is this possible to trigger an sms dispatch only when a order status in woocommerce is changed to a specific one.

Please let me know

icon

Best answer by MohSwellam 17 October 2022, 09:56

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +8

Hi @bssmsapi 

 

The way to do this is to add a filter right after the WooCommerce trigger for the required order status, this way the SMS wont be sent unless it complies to this status. Also when you put a filter right after the trigger, any data that doesnt pass the filter wont count against your usage limit. 

Userlevel 7
Badge +8

Hi @bssmsapi, looks like Moh’s recommendation is the best approach. Did you have a chance to give this a go? Any questions?