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
13k views

How can I create and retrieve default billing address programatically?

Our site imports customers from external data sources. Part of this import is creating a default billing address from external data if none exists. I have followed advice from other questions, as ...
Jon Surrell's user avatar
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 ...
Vinaya Maheshwari's user avatar
1 vote
2 answers
180 views

Custom attribute on billing address not added

I would like to add a custom attribute on billing address module. Below are my Code: app/etc/modules/Ucs_BillAddress.xml <?xml version="1.0"?> <config> <modules> <...
Anto S's user avatar
  • 1,407
1 vote
1 answer
3k views

Uncheck billing and shipping address are same checkbox in magento2 if pickup store is enabled

I have installed a store pick up module. So, I am trying to uncheck the checkbox of "My billing and shipping address are same" once the module is enabled. I have refered the below link, this will ...
Jafar Pinjar's user avatar
  • 1,929
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 ...
Nisith's user avatar
  • 300
1 vote
2 answers
4k views

How to get customer billing and shipping information in magento2 .phtml files?

How to get checkout page information (firstname, lastname, address etc of customer) , I have created one phtml file and the code is below $address = $objectManager->get('\Magento\Sales\Model\Order');...
ASHWINI MURTHY's user avatar
1 vote
2 answers
6k views

Magento 2 - Get country in billing address

I'm trying to get the country name from billing address. I have the address object and I see that the attribute country_id is always No but I'm sure the country is existed as it is displayed properly ...
TFS's user avatar
  • 4,289
1 vote
1 answer
2k views

Billing address not being saved to quote

I have a problem with Onepage checkout not saving customer billing address to the quote. When I add a new address then refresh the page the address is removed. If I var_dump the current checkout/...
user1704524's user avatar
  • 2,483
1 vote
3 answers
3k views

How to remove street city field from billing address in checkout?

Is it possible to remove the address street city field from billing information in checkout page in magento? As already try in abstract page but it's not done, then to try in database to change ...
Sunil Kumar Nayak's user avatar
1 vote
1 answer
4k views

Disable billing address edit

is there a way to prevent Billing Address modification by all users? After entering billing address in registration i don't want to let users modificate it. Thank you very much.
Mario Villani's user avatar
1 vote
2 answers
283 views

magento 1 append block into another block

I have google map section as one block . and i want to add my block into checkout billing address block. i did like this code <reference name="content"> <reference name="checkout.onepage"&...
chiya's user avatar
  • 85
1 vote
1 answer
951 views

Magento2 : Move billing address after payment method

How can I move Billing address after Payment method section?
Ketan Borada's user avatar
  • 2,593
1 vote
1 answer
2k views

Magento 2: How to get default address as an array?

I want to know how to get the default billing and shipping address of a customer as an array. For example, the code below: $customer = $this->customerFactory->create()->load($customer_id); $...
Sergiu Tripon's user avatar
1 vote
2 answers
4k views

Edit billing and shipping address in email template

In magento 2 how to remove coma from billing and shipping address of order confirmation email template. Order confirmation mail is called from "order_new.html" file. In this file billing address is ...
Jinitha's user avatar
  • 95
1 vote
2 answers
702 views

Convert Order Address into customer Address

Under a sales_order_place_after event Observer, I try I save a guest customer and I try to save the order Adresses into the guest customer Adresses: I get the the Billing and Shipping Adresses like ...
Bizboss's user avatar
  • 597
1 vote
1 answer
108 views

Magento change billing address sequence

On Magento orders and invoices the seguence is city, state, postal code. I'm living in Holland and I would like to change it on orders and invoices to postcal code, city, state Example L.A., ...
Peter's user avatar
  • 151
1 vote
2 answers
3k views

How to delete empty select option value in magento

In the checkout process of magento, customers are allowed to select countries. In administration in magento administrator is allowed to restricted shipping only to selected or one country, in my case ...
user15151's user avatar
  • 581
1 vote
2 answers
239 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://...
cjochum's user avatar
  • 121
1 vote
1 answer
325 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.
Gaurav Agrawal's user avatar
1 vote
1 answer
932 views

Magento2 - How to show both billing and shipping address in user registration form

I want to show both the billing address and shipping address form in a user-registration page and save the data .
jithin 's user avatar
1 vote
1 answer
624 views

Magento 2 - Sales Order Address

I want to edit the field of this column which exists in the sales order view edit billing address I want to know from which file this code is coming.
hasan khan's user avatar
1 vote
2 answers
2k views

How to remove city filed from checkout page magento 2?

I want to remove city field from the shipping and billing form on the checkout page. I have checked in checkout_index_index.xml in my theme or vendor but I didn't find the city field. Give me ...
Vinod Kumar's user avatar
  • 2,045
1 vote
1 answer
1k views

Magento set customer address as default address in address book page itself

How can I set address as default billing address when a radio button is added in customer address book without going to edit address page. Please find the below screenshot, https://prnt.sc/ihngmf ...
Raghu's user avatar
  • 1,710
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 ...
Sneha Panchal's user avatar
1 vote
2 answers
3k views

Get customer billing address country short code (ISO Code)

How can I get the country short code (ISO) of the billing address of a logged in customer. Can anyone help? Thanks!
Self Diagnostics's user avatar
1 vote
1 answer
811 views

How to set Currency by default Billing Address Country in Magento 1.9?

In my setup only logged in customers can see prices and order. How to set currency due to their default billing address? Thanks!
Self Diagnostics's user avatar
1 vote
1 answer
3k views

How to add new field in billing address in magento 2 and how to save that attribute data?

I wanted to add second field for telephone number. Can anyone tell me what is exact process for that ? Do I have to create attribute for customer address or any other ? please let me know. Actually, ...
Dhaval Solanki's user avatar
1 vote
2 answers
3k views

Magento 2 : Implement update functionality of new customer billing address on place order button in checkout page

I want to remove the "update" button under the customer billing address section and implement the update functionality on the "place order" button in checkout page. Successfully completed a half ...
Rita Jose's user avatar
  • 1,842
1 vote
2 answers
456 views

{{/depend}} on shipping and billing

there is a {{/depend}} what is the problem of this?
Hans Proggie's user avatar
1 vote
1 answer
623 views

How to change address book drop(Billing) down to pre-populated form?

If $this->customerHasAddresses('billing') this method is set to true or if customer has their addresses registered, magento will show the existing address as the drop down options. how to show ...
Dev's user avatar
  • 1,144
1 vote
1 answer
896 views

Change the city to dropdown in Edit Order Billing Address admin

I want to change the city to dropdown in Edit Order Billing Address admin. I try to update table eav_attribute in database. I changed frontend_input='select'; and copy the source model of country ...
ron24's user avatar
  • 131
1 vote
1 answer
1k views

Is there a way to edit the pre stored address in the Onepage checkout page?

My issues, After launching the website I have made some of the street lines mandatory, which was not initially. So some of the customers already have address stored without the new mandatory street ...
ted's user avatar
  • 421
1 vote
1 answer
202 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.
mechanic's user avatar
  • 360
1 vote
0 answers
255 views

Update billing address in the checkout page

I'm using magento 2.4.3, I have created a plugin that creates different shipping methods. My issue is that one of the shipping methods is a pickup service, which I successfully changed the shipping ...
azntony's user avatar
  • 11
1 vote
0 answers
259 views

Magento 2 Checkout Billing Address Before Shipping Address

What we would like to accomplish is the have the Shipping Address where Magento 2 has the Billing address and viceversa, where the checkbox saying that: "my billing address is the same as ...
Alan Zavagli's user avatar
1 vote
0 answers
668 views

Remove "My billing and shipping address are the same" checkbox and Billing address form open By default Magento 2

I am using the one step checkout and it is working fine. Now, requirement is that , remove the "My billing and shipping address are the same" checkbox and open the Billing address form by ...
Sunny Rahevar's user avatar
1 vote
0 answers
268 views

How can i change firstname and lastname on billing address with a value from another field

I've added a new field(fullname ) on the checkout billing address using a plugin on Magento\Checkout\Block\Checkout\LayoutProcessor, and I also hide the firstname and lastname. Now I want to populate ...
Alin Lupoiu's user avatar
  • 2,662
1 vote
1 answer
611 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 ...
Jitendra prajapat's user avatar
1 vote
0 answers
187 views

checkout payment page not showing billing address fully after apply coupon in magento 2?

Billing address not display on checkout if I apply coupen on checkout cart page then billing address only get pincode and country name First name and Last name and address not display on checkout ...
Jitendra prajapat's user avatar
1 vote
0 answers
208 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 ...
jojo's user avatar
  • 149
1 vote
0 answers
1k views

Magento2: How to remove required validation from street field in billing address

I want to remove required validation from street field in billing address. I am using below code that remove the validation from telephone field but not remove required validation from street field:- ...
Purushotam Sharma's user avatar
1 vote
0 answers
212 views

How to set shipping address same as billing address on change shipping address from options magento 2?

i want to set billing address dynamically as per the change of shipping address magento 2. In checkout page "same as shipping" checkbox is there & its also checked still changing the shipping ...
Hamendra Sunthwal's user avatar
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....
Hamendra Sunthwal's user avatar
1 vote
0 answers
140 views

Magento 2.3 - Render billing address in checkout sidebar

I want to render the billing address inside the checkout sidebar, above the shipping address. How can I achieve this?
JGeer's user avatar
  • 1,383
1 vote
0 answers
143 views

Magento2 - How to know in model billing-step or shipping-step

Magento2 - I want to know, its billing address or shipping address in checkout page. How to check, checkout form is billing form or shipping form... Thanks.
Anas Mansuri's user avatar
  • 2,627
1 vote
1 answer
868 views

Magento 2 how to add email in billing address form?

Magento 2 how to add email in billing address form?
Junaid Ashfaq's user avatar
1 vote
0 answers
34 views

Magento 2.2.3 How to change GrandTotal

var billingAddress = quote.billingAddress(); var billingCountryId = (billingAddress.countryId); // console.log(billingCountryId); console.log({billing: ...
jibin george's user avatar
1 vote
0 answers
34 views

Is there anyway to check shipping address country matches with billing address?

I have created an account and added a billing address in my account section. After selecting products, I get to the first /checkout page. I want to do a check does billing address country matches with ...
jibin george's user avatar
1 vote
1 answer
620 views

Magento 2 change position of billing and shipping address are the same section?

We would like to change the position of My billing and shipping address are the same section to the top of the payment methods section. Please refer attached screen shot and advise?
Nagaraju Kasa's user avatar
1 vote
1 answer
367 views

How to set require field to company in billing address in magento2?

How to set require the field to a company in billing address in magento2?
Pratik Mehta's user avatar