If a customer has a default billing address I would want to populate the checkout > billing step > new address > form with the those values.

I found all the html and JavaScript files that are used to generate the billing step. I would prefer to do this from php.

Where to start. Any advice?

enter image description here

  • do you want to delete New Address from drop down OR remove My billing and shipping address are the same from Review & Payments step?
    – kunj
    Commented Aug 9, 2018 at 11:41
  • 1
    No I do not. I wish to populate the fields with default billing address values Commented Aug 9, 2018 at 11:42

1 Answer 1


I guess following mixin for Magento_Checkout/js/view/payment will do what you want (doing this in php won't work in my opinion):

    ], function (
        customer) {
        'use strict';

        var mixin = {

            initialize: function () {



                return this;

        return function (target) {
            return target.extend(mixin);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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