on 10-26-2020 4:47 PM
When a product is assigned to a category, I want to catch that change event and want to know which product is getting assigned to category ?
Similary if a super category is being assigned to a product, how to catch if what super category is being assigned ?
If a child category is being assigned to a super category, then how to catch that too ?
There are two ways to achieve that
1. Introduce Product and Category interceptor, check for corresponding Dirty attributes
2. If relation created directly create new AfterSaveListener to handle relation changes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.