Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [billing-address]

Denotes questions about customer billing address which is used in checkout process

Filter by
Sorted by
Tagged with
1 vote
2 answers
1k views

Magento 2.1.2: How to remove billing address lastname field and shipping address lastname field

In Magento 2.1.2 How to remove billing address lastname field and shipping address lastname field ? I update to eav_attribute table. UPDATE eav_attribute SET is_required = 0 WHERE attribute_code = '...
0 votes
2 answers
2k views

Magento 2 + Checkout Billing address Telephone Number Validation

I have created a plugin for billing address phone number validation, but it's giving me an error Exception #0 (Exception): Notice: Undefined index: dataScopePrefix in /var/www/html/test/vendor/magento/...
3 votes
0 answers
2k views

Magento 2 add custom field in customer billing and shipping form

I want to add custom dropdown field in customer address form of shipping and billing and also customer can add address in checkout so I need to add that custom field in checkout shipping /billing form ...
0 votes
1 answer
1k views

Uncheck 'My billing and shipping address are the same' checkbox by default

I promise to give someone 50 bounty points if you are able to help me resolve this. (I wills start a bounty when the system allows me to and give the reward then) Magento 2.4.2-p1 Amasty extensions ...
5 votes
2 answers
3k views

Magento2 : How to force Shipping Address is the same as Billing Address?

Is there a way to prevent the addition of a different address at checkout, so that billing and shipping addresses are always the same? With this I'd like to also prevent the user adding a shipping ...
0 votes
1 answer
20 views

Add a div class to all the fields in shipping form in magento2

I want to customize my shipping and billing form in magento one page checkout process and for that I have to add a custom CSS class/div class to shipping and billing form.If anyone have any leads, ...
3 votes
1 answer
2k views

Magento2 - How to add static country code in Phone Number input field?

I have only one country in country dropdown and I want to add static country code in Phone Number field in shipping and billing address in checkout. How Can I add this in checkout shipping and ...
4 votes
1 answer
2k views

Error in default API testing | V1/carts/mine/shipping-information

I just wanted to test this API for understanding order flow { "addressInformation": { "shipping_address": { "region": "New York", "...
2 votes
1 answer
2k views

"Shipping and Billing address are the same " / Need to copy current shipping address to billing address - Magento 2

Which function checks shipping address and billing address are the same ? and where it copies the billing address to the shipping address ? Need to replace the default method. Instead need to copy ...
0 votes
1 answer
2k views

Magento 2.4: Hide and disable billing and shipping address from checkout

I am using trust payments ad I want to hide and disable billing and shipping address from checkout(Place order without billing address). I am able to hide the billing address by following this: https:/...
0 votes
0 answers
24 views

Magento 2 : Change Billing Address drop-down to radio button on checkout page

I want to change the billing address drop down to radio button on checkout page. Please help me, I tried but its not working. I am not good in ko js as well.
0 votes
0 answers
21 views

Magento 2 : Convert billing address dropdown to radio list with add new address in payment section checkout page

I want to change the billing address drop down to radio button on checkout page. Please help me, I tried but its not working I am not good in ko js as well. Thank you
1 vote
1 answer
1k views

Vat Number missing in Billing Address Magento 2

I am trying to checkout as a Guest and when I proceed to the Payment Step, I have checked the data saved in the Shipping Step and I found that Vat Number is missing in the Billing Address, but in ...
0 votes
0 answers
17 views

How to add a "default address" option to the new address form on the Magento 2 checkout page?

I want to add a "default address" option to the new address form on the Magento 2 checkout page. If selected, I want the added address to be the default billing and shipping address after it ...
0 votes
1 answer
320 views

Magento 2 how to remove update button from checkout billing address

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 ...
2 votes
0 answers
254 views

Billing address list in checkout as radio button instead of select - Magento 2.4

By default /checkout/view/frontend/web/template/billing-address/list.html is loaded as a html select element, but we want to change it into a radio option or div selection. How can we achieve that? We ...
0 votes
0 answers
220 views

Magento 2 : How to add a billing address details in checkout under payment method

I'm using Magento 2.4.6. I want to add billing address info under the credit card payment method as it is showing for cash on delivery method, shown in the screenshot. Screenshot1 Screenshot2 The ...
0 votes
2 answers
67 views

Magento 2 - Checkout. Remove “New Address” Button from checkout billing/shipping address with module for B2B customers

Magento 2 - Checkout. Remove “New Address” Button from checkout billing/shipping address with module for B2B customers
0 votes
1 answer
24 views

Hide checkmo payment method if billing and shipping address are different

I would like to hide the checkmo payment method on checkout, if the billing and shipping address are not the same. Thank you!
3 votes
2 answers
2k views

Magneto 2: Different countries in billing and shipping address

How to limit the countries in the shipping address, for example, I want to allow all countries in billing address but only one in the shipping address( at the moment). Any idea how to achieve this in ...
0 votes
1 answer
262 views

Change Checkout Billing Address dropdown to list view

I want to change billing address drop down in checkout page similar to shipping address view list template. I have tried the following code in app\design\frontend....\Magento_Checkout\web\template\...
0 votes
1 answer
1k views

Multiple Billing Address for Multiple items in cart, Magento?

Magento give functionality to use multiple Shipping address. I want to add multiple products in cart with below condition: 1. Cart has multiple items 2. Shipping Address can be different for all. 3. ...
0 votes
1 answer
616 views

Changing billing or shipping address separately?

Magento 2.4 I know there is a way to make this work by adding a new address and setting the checkboxes accordingly, but is there really no way to change only the billing or shipping address without ...
1 vote
2 answers
351 views

Change Billing Address Telephone Input Type

I am trying to change the telephone input type from "text" to "tel", so that on mobile devices a number pad will display. I have tried to implement the solution outlined https://...
0 votes
2 answers
404 views

How to Move billing address to below shipping address form in onestep checkout (IWD_opc)? [duplicate]

How to Move billing address to below shipping address form in onestep checkout (IWD_opc) ? We can move billing address section in shipping address area in Magento default checkout but not working same ...
8 votes
4 answers
7k views

Move billing address form to shipping address page in magento 2.1

I am using Magento-2.1.7. I am trying to move where the billing address is set by default it is set on the payment page and I would like to move this to the shipping methods section. Here is my ...
0 votes
3 answers
700 views

Magento2 Move billing address below shipping address

I have Magento 2.3 and in My custom OnePageCheckout I moved Billing Address to Shipping Address. I changed LayoutProcessor.php: $jsLayout['components']['checkout']['children']['steps']['children']['...
4 votes
5 answers
7k views

Magento 2.3 - Move billing address below shipping address in checkout

I want to move the billing address form below the shipping address in the checkout, on the first page/step. Therefore I created a custom module with the following LayoutProcessorPlugin.php. But now ...
0 votes
2 answers
3k views

Magento 2 : Remove the city field in checkout billing address

How to remove the city field in checkout billing address, I tried removing it from checkout_index_index.xml but it's not working? Magento ver. 2.3.5-p1
0 votes
1 answer
138 views

How to disable billing address in checkout page?

I want to disable the "Billing address" from checkout page in Magento 2.
0 votes
1 answer
766 views

Billing address form missing in checkout since upgrade to Magento 2.4.4

since upgrading my Magento instance from 2.4.3 to 2.4.4, the onepage checkout is missing the form for the billing address. After unchecking the checkbox for "same as shipping address", the ...
1 vote
1 answer
442 views

Magento 2: Add custom OrderAddress field in GraphQL

I have a requirement where I want to add a custom field in the OrderAddress query of GraphQL. Anyone who have done this can help.
1 vote
1 answer
1k views

Magento2 : How to add state options for UAE

I want to add some specific states options in State drop down on checkout page for UAE country option. I didn't find any setting for this. I have to create a custom module or need to change in any ...
2 votes
1 answer
274 views

Magento 2.4: Billing address city field validation

I want to make the billing address city field required on the checkout. Any help would be appreciated.
7 votes
2 answers
35k views

Magento 2 Get shipping and billing address of customer after order placed?

I am working on custom email template. So I needed customer Billing and Shipping address in below file. /vendor/magento/module-sales/view/frontend/templates/email/items.phtml Can any 1 help me to ...
1 vote
0 answers
489 views

How can i add button next to Zip/Postal Code in admin Billing and Shipping Magento2 order create form?

I want to add button next to Zip/Postal Code in Billing and Shipping Address section area inside adminside of Magento2 order create form because i want to create address finder on click for that ...
4 votes
6 answers
14k views

Magento 2 : Place Billing Address Above Payments Methods in Checkout

When using standard checkout in magento 2, I want to place checkbox with address above my payment methods: I think I have to meddle with knockout JS which I have no experience in. Anyone knows where ...
1 vote
2 answers
5k views

Magento 2 : Add extra text field in checkout billing address and save it in order

I want to add one extra text field in checkout billing form and also save that field data in order so I can show that field data in admin order view and also in order email. I already tried to add in ...
1 vote
1 answer
1k views

Magento 2 shipping address gets blank while adding new billing address

Magento 2 shipping address gets blank while adding new billing address When we add info to fields in the new billing address , the shipping address section gets automatically reload and it gets blank....
0 votes
1 answer
594 views

Convert City field from text to Drop Down in billing address at checkout

i want to convert city field from text to select or drop down. i have tried many ways but unable to implement it. I want to convert city text field to select and want to show custom city option how ...
0 votes
1 answer
4k views

Magento 2: How to reload/update billing address on the Checkout page

I'm working on the OneStepCheckout and my problem is when I clicked on the place order button and the My billing and shipping address are the same checkbox is not changed (after filling the shipping ...
1 vote
2 answers
3k views

How to divide street address into 3 lines with label for each line and update them in checkout form for billing address

I have referred to below solution for dividing the street address into 3 lines. For shipping form in checkout . I have made changes for billing address below referring the above link. <?php ...
3 votes
3 answers
8k views

How to get formated order addresses

I know we can get formated customer addresses by calling, $data = $customer->getPrimaryBillingAddress()->getFormated(); Is there a similar way to get shipping address and billing address of a ...
0 votes
3 answers
986 views

save custom billing attribute value from order

I have a problem with saving the custom billing attributes. I added attributes into the Customer Address Entity table. all fields of billing address are saved to DB without my custom attribute. My ...
0 votes
2 answers
288 views

how to override elementTmpl for billing address fields properly in checkout_index_index.xml?

I would like to change the way the company field is rendered in the billing address and I'm trying to apply a new elementTmpl that I've defined and works well for shipping address fields. Here's the ...
2 votes
1 answer
7k views

Magento 2 How to remove billing address?

My site does not need billing address. How to remove the billing address fields around the Magento? Thanks.
1 vote
1 answer
674 views

Checkout billing address getting blank in magento 2

I'm getting issue on checkout when I apply coupon code on checkout cart or checkout shipping page at the end of checkout payment page I'm getting issue with my billing address same as shipping ...
2 votes
4 answers
5k views

billing and shipping address should have different address

If i changed the "billing address" by clicking "change billing address" automatically both "billing and shipping address" are changing.... I want " if we change billing address, only billing address ...
0 votes
2 answers
270 views

Can you recommend a good extension we can use for Magento 2 to auto complete address during checkout?

I'm looking for an extension that we could use in our store to autocomplete the address during checkout so there will be less mistakes when customer's enter their address? I've tried to research some ...
1 vote
0 answers
234 views

Magento 2: How to make new billing address form shows up in popup in checkout just like new shipping address form?

In magento 2 checkout page there will be a pop up form when we add new address instead of using current shipping address, but for billing address the new billing address form is below the dropdown, is ...

1
2 3 4 5 6