Jump to content

Changing Notification


Recommended Posts

Hallo to all the Prestashop Community, i need your help again, i need the platform inform all the users the changes we make in the platform, theres a way to do it? I mean if some1 change a price or a product i want the platform send me a mail that tells me what they change.

 

Any Suggestion, Thx =)

Link to comment
Share on other sites

That's not the easiest thing in the world. What I would do, is create a module that hooks to every object update, and sends out emails accordingly.

Prestashop, since 1.5, has a hook before and after each action performed on an object, for example

 

hookActionObjectSupplierUpdateAfter

 

Will trigger right after updating a supplier object, and so on. You have to target each and every object that is relevant for you.

 

That said, I think that it will drag performance down to hell as sending out emails can be a really slow process, depending on the amount

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...