We have 2.4.5 magento version.

how can we remove "update" button from billing address and allow to placer order. we have virtual product so in virtual product we do not need to add shipping address we just need to add billing address but client want to remove "update" button for update billing address.so they want to update billing address without click on update button.


1 Answer 1


It will depend on which Payment Method you are using on the website, below is an example of how it can be done for Braintree:


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

    var mixin = {
        placeOrderClick: function () {

    return function (target) {
        return target.extend(mixin);
var config = {
    config: {
        mixins: {
            'PayPal_Braintree/js/view/payment/method-renderer/hosted-fields': {
                'Namespace_Module/js/hosted-fields-mixin': true

The JS mixin changes how the Place Order button works, so that when you click it, it first updates and saves the billing address before placing the order.

The code will need to be adjusted depending on the Payment method used by your website. You will also need to hide the "Update" button by either updating the billing address template or using CSS.

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.