Magento Asked by vivek tiwari on January 5, 2021
I want to create the custom module for email sent to admin for notifying when the product is low qty in magento 1.9.x.
Try this module for Magento low stock notification
https://github.com/geekster909/magento-low-stock-notification
Answered by Magento Developer on January 5, 2021
Hey you can do it using cron jobs what you have to do is create a cron job and in its function you need to load the whole products and check which product has low stock you can set limit like only those product which has only 10 QTY left you can get their sku in an array once you have an array of sku then you can send the details in mail to your admin. Benefit of using cron job is you can set timings like you can check product stock in every 2 days or 3 days according to you.
Answered by Shubham Khandelwal on January 5, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP