Situation is:
Admin logs in to system and he changes product somehow.
For example:
Sets qty to 10
Adds 2 images
Changes description
Is there any way to track these changes? Well I mean exactly track WHAT and HOW admin changed?
I use Magento CE 1.6
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can find the unaltered data through an object’s
getOrigData()method. A good time to get the object is through it’s save_before event, so create an observer for thecatalog_product_save_beforeevent. The observer might contain the following:Note that
$newValueswill include all of$addedand existing attributes that have had their value changed. Ditto for$oldValuesand$unset.