cancel
Showing results for 
Search instead for 
Did you mean: 

How to track the changes done for the classification attributes (Product Feature) in the admin tab of the product in Backoffice.

Former Member
0 Kudos

Ex : If I modify the colour feature(which is a classificatin attribute) then I need to log the oldValues and the newValue. I have written an productFeatureInterceptor but not able to get the old and newValues. 1. How to get the old value and new Values of the attribute ?

Thanks ,

former_member620692
Active Contributor
Former Member
0 Kudos

Thank you , In the above mentioned link they have just given clean up strategies.

Actually I want to get the old and new values and save those in the savedVales model. The problem is I have written an interceptor to track those changes but that is called multiple times like if I change 3 product features the interceptor is called three times,instead of that I need to get all the modified classification attributes in one go so that I can saved those entries in the savedModel.

former_member620692
Active Contributor
0 Kudos

Hi - why do you want to create a new interceptor for a feature which is already available out-of-the-box. The link that I have shared does not just talk about clearing the saved values; it talks about every aspect of this feature. I recommend that you go through it completely.

You have mentioned another problem that when you are changing 3 product features, your interceptor is getting called 3 times. I would like to know how many times you are saving the model. If the model for which you have created the interceptor is saved 3 times, the interceptor will be called 3 times.

Accepted Solutions (0)

Answers (0)