jennywill Posted June 9, 2013 Share Posted June 9, 2013 Hi, We have a back end cron job that updates inventory directly to the database. Because of that our customers are not receiving an email alert when a product is available because it never gets triggered on update. I would like to set up a cron job that will run the mail alerts after the inventory is updated every day. Can you tell me what the mechanism is that triggers the mail alerts? Any suggestion on how to accomplish this? Hubby is a developer and is hoping there would be a better solution with the code available than to have to redo the entire thing from scratch to work with our inventory updates. Thanks for any insight! Link to comment Share on other sites More sharing options...
parsifal Posted June 9, 2013 Share Posted June 9, 2013 I have the same problem (quantities get updated by a PHP script I wrote that receives input from our ERP via HTTP GET requests). I think the proper way to update quantities would be to use PrestaShop's Web service API. Unfortunately, I found the documentation a little lacking for my tastes and did not gothat way... :-( Link to comment Share on other sites More sharing options...
prstshp_joe Posted July 7, 2015 Share Posted July 7, 2015 Have you been able to solve this? Thank you! Link to comment Share on other sites More sharing options...
AlbertoV Posted December 4, 2015 Share Posted December 4, 2015 I'm also facing the same problem. I would like to manually trigger the script that will inform users about the new availability. Link to comment Share on other sites More sharing options...
julien95 Posted March 6, 2017 Share Posted March 6, 2017 Did you find any solution ? Link to comment Share on other sites More sharing options...
Recommended Posts