Customer Stock Notification

So we occasionally have an issue where we're emailing a bunch of people that a particular item is back in stock when it is not.

If I look in fn_send_product_notifications(), I see that the product_subscriptions are only cleared in the case that ORDER_MANAGEMENT is not set. Conceptually, what does that constant mean and in what situation would you not want to clear these notifications after sending it? Any thoughts on why we might be sending these when we don't have stock?

If I look in fn_send_product_notifications(), I see that the product_subscriptions are only cleared in the case that ORDER_MANAGEMENT is not set. Conceptually, what does that constant mean and in what situation would you not want to clear these notifications after sending it? Any thoughts on why we might be sending these when we don't have stock?


This constant means that you edit order from the admin panel. As for main question, it is hard to say anything without detailed examination.