Web Analytics

Fill the form & Get Installation Support





    How to Move Billing Address Before the Payment Method in checkout Magento2?

    By Default, In Magento2  Billing address is displayed with the Payment method, and the second option to display billing address is on the Payment page.

    If you have a custom requirement like, Display the Billing address before all the payment methods you need to do customization for that.

    Create a di.xml file at the location,
    app/code/Magemonkeys/BillingAddressBeforePayment/etc/frontend/di.xml

    Based on the XML file, Create a Plugin Class, app/code/Magemonkeys/BillingAddressBeforePayment/Plugin/Block/Checkout/LayoutProcessor.php

    before method is used to display content before the payment methods.

    Clear the cache and go to the checkout page to see the billing address. It will be at the top of the payment page.

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





      Recent Articles

      Author Info

      Author Image

      Magento Certified Developer

      Hire J. Lakum

      Get a Free Quote





        Connect With Us