What is a consequence of this setup?

A third-party module uses a layout update that changes the template path for a core block from product/view/addto/compare.phtml of the Magento_Catalog module to custom/view/addto/compare.phtmlof your custom module. The merchant has a customized version of this template in their custom theme.

What is a consequence of this setup?
A . If the custom module is removed, the custom template will no longer apply
B . This setup will throw an IllegalStateException
C . If a preference for the core block is set, the template will no longer apply
D . If another module is installed which also customizes the same core template, the templates will be rendered sequentially

Answer: A

Explanation:

Reference: https://magento.stackexchange.com/questions/259547/how-to-a-third-party-module-uses-a­layout-update-that-changes-the-template-path

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments