php - Woocommerce email after product is out of stock -
is possible email people ordered product when product becomes out of stock?
example: product has 15 in quantity. when reaches 0 sent emails people ordered product.
i've found woocommerce_email_recipient_no_stock
hook, i'm not sure how or if can use it. example appreciated.
this has configured in woocommerce admin, go woocommerce > notifications , click on “add notification” button:enable notifications purchases,low stock,out of stock,backorders etc.
Comments
Post a Comment