Reputation: 853
I need to notify on group of user when a product is edited and saved and one given attribute has been changed.
Let's say I've an attribute is_new
sets to false, if an admin update the product, I need to hook that this attribute has been changed and notify via emails the group "subscribers".
Any ideas?
Upvotes: 0
Views: 369
Reputation: 2820
You can do this with events, there's some basic information on how to create events in the magento wiki:
The event you need is probably catalog_product_save_before or catalog_product_save_after, depending on how you setup the code.
Upvotes: 1