I need relevant.xml file for <checkout_onepage_index> in Magento 1 to Magento 2?

  • go to vendor/magento/module-checkout/view/frontend/layout/ and see for checkout_index_index.xml & checkout_onepage_review_item_renderers – Verdu Mar 7 '18 at 13:05
  • I want to override this in magento 2 <checkout_onepage_index translate="label"> <reference name="checkout.onepage.payment"></reference> </checkout_onepage_index> – Ramanathan Mar 7 '18 at 13:17

In Magento 2, the action handle checkout_onepage_index has been changed to checkout_index_index.

Also, Magento 2 has split the layout files based on layout handle. So, you can find equivalent layout file named as checkout_index_index.xml.

This file can be in many different modules since any module can change/modify the layout of any other module's action in Magento 2.

| improve this answer | |
  • But, i want to add my custom block in <reference name="checkout.onepage.payment"> inside chcekout_index_index.xml in magento 2 don't have chcekout.onepage.payment name in checkout_index_index.xml – Ramanathan Mar 7 '18 at 13:23
  • Please answer me? – Ramanathan Mar 8 '18 at 4:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.