Jump to content

Create a module to use for update stock


Recommended Posts

Hello,

I want to create a module to be able to send messages when an order changes status. Specifically when the purchase is confirmed.

My question is the following, I want to develop a module that sends an event ("update stock") when the purchase of the order is confirmed. I saw hooks but I don't know which one to use. I have thought of having a Prestashop editor in this case and a listener (a program of mine waiting for those events) for when the event arrives to update my personal database. Someone who understands hooks, which ones do I need? What if, in addition to the hooks, I need to know more about prestashop?

 

I am going to use zeroc ice to implement the distributed system. Link Zeroc Ice

 

Thanks in advance.

Edited by warrios96 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...