Where would the developer place this file?
An Adobe Commerce developer created a module called Orange_Customer. In customer information.
Where would the developer place this file?
A . app/code/OrangG/customer/viev^/frontend/web/templates/customer-info.phtml
B . app/code/Orange/Customer/frontend/templates/customer-info.phtml
C . app/code/OrangG/Custon>Gr/viGw/frontGnd/templates/customGr-info.phtml
Answer: C
Explanation:
To place a template file for a custom module, the developer should follow this path pattern:
app/code/<Vendor>/<Module>/view/<Area>/templates/<Template>
In this case, the vendor name is Orange, the module name is Customer, the area is frontend, and the template name is customer-info.phtml. Therefore, the correct path is:
app/code/Orange/Customer/view/frontend/templates/customer-info.phtml
The following paths are not correct and will not work:
app/code/Orange/customer/view/frontend/web/templates/customer-info.phtml: This path is incorrect because it uses web instead of templates, which is used for storing web assets like CSS, JS, and images, not template files.
app/code/Orange/Customer/frontend/templates/customer-info.phtml: This path is incorrect because it misses the view directory, which is required for separating frontend and backend templates.
Latest AD0-E720 Dumps Valid Version with 50 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund