Câu 17: Magento 2 Certified Associate Developer
A third-party module uses a layout update that changes the template path for a core block from product/view/addto/compare.phtml of theMagento_Catalog module to custom/view/addto/compare.phtml of your custom module. The merchant has a customized version of this template in their custom theme. What is a consequence of t…
Nội dung câu hỏi
A third-party module uses a layout update that changes the template path for a core block from product/view/addto/compare.phtml of theMagento_Catalog module to custom/view/addto/compare.phtml of your custom module. The merchant has a customized version of this template in their custom theme. What is a consequence of this setup?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. If the custom module is removed, the custom template will no longer apply — đáp án hiện tại
- 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
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.