Web Analytics

Fill the form & Get Installation Support

Magento 2: change logo on checkout page using layout xml

If you want to change the header logo only on the checkout page using XML, then follow the below instructions:

First, you should override the checkout_index_index.xml file in your theme and add the below code between the body.

Then, you need to create a helper or add the below function in your exiting helper file. (here I have created a new helper file in my module)

*Note: I have tried this code in Magento 2.4.2

Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento Developer

    Hire T. Baldha

    Get a Free Quote

      /* second popup */

      Connect With Us