3

Notification to the admin when any product goes out of stock in Magento 2

I used a module from GitHub to send a notification mail to the admin when any product stock quantity below 20,10,5. Also, I need additional customization to send a notification mail for out of stock product to the admin.

10
  • Please mention what you have did so far, and what is the problem you are facing. Sep 4, 2020 at 6:18
  • 1
    You can create an observer on order place after event. After order place check the product current qty that has been ordered, and if any qty is below 20,10,5 send an email.
    – Nayem323
    Sep 9, 2020 at 15:27
  • Have you not considered just adding qty below 1 which basically means out of stock Sep 9, 2020 at 19:48
  • @Divya can you check this extension :github.com/bharat2762/magento2.3.x-admin-low-stock-notification here you need some minor customization like as per your quantity and this extension also working for magento2.3 and low notification , you received email Sep 10, 2020 at 12:54
  • 1
    @Nayem thanks, I was done it by your suggestion. Sep 11, 2020 at 12:59

2 Answers 2

1

Hello I created one module it will send daily one email to admin of all out stock product https://github.com/sunilit42/lowstocknotification

1
+50

You can create an observer on order place after event. After order place check the product current qty that has been ordered, and if any qty is below 20,10,5 send an email.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.