MCQs>IT & Programming>Magento>Assume you have three models A, B and C. Both A and B extend C. Assume C contains a method that you are going to change in both A and B. How can you change the method using Magento class rewrites.
Magento MCQs
Assume you have three models A, B and C. Both A and B extend C. Assume C contains a method that you are going to change in both A and B. How can you change the method using Magento class rewrites.
Answer
Correct Answer: You must rewrite both A and B using the xpaths global/models/_MODULE_/rewrite/A and global/models/_MODULE_/rewrite/B
Explanation:
Note: This Question is unanswered, help us to find answer for this one