ExamGecko
Question list
Search
Search

Question 7 - AD0-E711 discussion

Report
Export

A merchant has noticed an error in the checkout. The accessed URL is /checkout. Where can the developer find the responsible controller in the Magento.Checkout module?

A.
Controller/lndex/lndex.php
Answers
A.
Controller/lndex/lndex.php
B.
Contiollef/Checkout/lndex.php
Answers
B.
Contiollef/Checkout/lndex.php
C.
Controller/lndex/Checkout.php
Answers
C.
Controller/lndex/Checkout.php
Suggested answer: A

Explanation:

In Magento, the responsible controller for the /checkout URL can be found in the Magento_Checkout module under the path Controller/Index/Index.php. This is because Magento follows the pattern of Module/Controller/Action for its URL structure. Reference:

https://devdocs.magento.com/guides/v2.4/extension-dev-guide/routing.html

asked 02/10/2024
Tim Baas
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first