QuestionQ29

Checkout & Sales

A merchant has identified an error during checkout. The URL being accessed is /checkout.

Where can the developer locate the responsible controller in the Magento_Checkout module?

  • A Controller/Index/Index.php
  • B Controller/Index/Checkout.php
  • C Controller/Checkout/Index.php
Explanation

The checkout route with no additional path segments uses Magento’s default index controller and index action. In Magento_Checkout, that maps to the Magento\Checkout\Controller\Index\Index class in Controller/Index/Index.php.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!