Jump to content

Manually run product availability alerts


Recommended Posts

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

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

  • 2 years later...
  • 4 months later...
  • 1 year later...
×
×
  • Create New...