Questions tagged [billing-address]
Denotes questions about customer billing address which is used in checkout process
283
questions
18
votes
2
answers
9k
views
how to reorder (switch) billing address before shipping address
on the onepage checkout I need to reorder the billing address before the shipping address.
in fact the logic should be the other way around than it is now.
if the shipping address differs from the ...
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 ...
8
votes
2
answers
6k
views
Found 2 elements with non-unique id #billing-new-address-form Magento 2
When on the checkout page, I receive the following console error when selecting the shipping method and going to the next-step 'payment'.
[DOM] Found 2 elements with non-unique id #billing-new-...
7
votes
2
answers
9k
views
How to add new custom field to billing address section in magento2
I have tried to add new field in magento2 billing address section. I have followed below link to add new field in shipping address block
http://oyenetwork.com/articles/magento2-devliery-date-module-...
7
votes
2
answers
33k
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 ...
7
votes
1
answer
2k
views
Change position of Billing address in Magento 2
I want to change default billing address position which is coming under the payment information, I need it before shipping address(same as magento 1).
Anyone have any idea to achieve it, Please help?...
6
votes
4
answers
836
views
Why the input element id's for one-page-checkout are in "type:elementname" format?
Why magento One-Page-Checkout page has the input fields with Id's that cannot be referred to any CSS attributes or by a javascript / jquery? Does this holds any security measures ? or it can be ...
6
votes
1
answer
3k
views
How to uncheck "My billing and shipping address are the same" checkbox during checkout? One Page/Magento2
I am having an issue where the box is being marked automatically. I want to unmark it.
5
votes
1
answer
3k
views
How to get shipping address from quote object in custom js file magento 2
I want to apply a functionality that enables , dynamic billing address to be changed as per changing shipping address in checkout page magento 2.
How to get shipping address from quote object in ...
5
votes
1
answer
5k
views
magento2 checkout: how to update billing address programmatically
I would like to force update of the billing address as user is typing his firstname and lastname in the checkout. For example when it changes or on keyup.
I'm using a custom checkout module that ...
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 ...
4
votes
6
answers
13k
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 ...
4
votes
1
answer
12k
views
Programatically load default billing and shipping address
Magento 2 programatically load default billing and shipping address..
4
votes
2
answers
12k
views
How to Check If given address is Default Shipping or Billing address using Address id Magento
I want to check whether the Given address is Default Shipping or Billing for the Customer address, i have the address id. Can anyone please help me on this.
4
votes
1
answer
215
views
Remove country form payment block
I want to remove country from Checkout payment block.
This was fill by knock js but i don't know how to remove this.
4
votes
5
answers
6k
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 ...
4
votes
2
answers
13k
views
Magento 2.1.2, Remove "region" from the Address
I would like to remove "Region" from all the address forms (checkout, billing address, shipping address, customer's addressbook).
I've set the Backend setting for "Allow to Choose State if It is ...
4
votes
2
answers
7k
views
How to add custom attribute in BILLING address in Magento 2
I actually have two new inputs in my customer address, admin, shipping and billing address, but i want just to show them in the billing address of each payment method, I am trying to hide them via xml ...
4
votes
1
answer
3k
views
Magento 2 , error {"message":"\"%fieldName\" is required. Enter and try again.","parameters":{"fieldName":"address"}}
An Error {"message":"\"%fieldName\" is required. Enter and try again.","parameters":{"fieldName":"address"}}
This error appears
while placing an order with a new billing address, even when all ...
4
votes
1
answer
1k
views
How to remove an input in form created billing-address.html by ko in Magento 2
I have to remove fax input from billing-address in checkout process.
( when you check out "My billing and shipping address are the same" and the form appears )
Found that is generated here :
...
4
votes
1
answer
2k
views
Ship to certain countries but allow any country in billing address
My company only ships to a few countries but we would like to allow billing addresses from additional countries we do not ship to. How can I change the countries available in the dropdowns for ...
4
votes
1
answer
7k
views
magento 2.3.2: checkout Uncaught TypeError: Cannot read property 'getCacheKey' of null
I have an issue on checkout page and we are getting below error on console. It looks like address object is not loaded correctly on quote object and we are getting different error each time.
i know ...
4
votes
1
answer
175
views
find the root to not handling new lines \n \n\n in addresses
I have been searching for a bit on why I'm getting \n in addresses. I have been searching in the templates, adding lines like
<?php echo str_replace('\\n',' ', $this->getAddressHtml(Mage::...
4
votes
1
answer
4k
views
Limit billing countries while leaving all shipping countries
I have 3 Magento sites (not multiSite), 1.7.0.2, 1.8.1, and 1.9.1.
I followed the instructions here > Allow multiple countries for billing but restrict for shipping
I can't seem to limit the ...
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",
"...
4
votes
0
answers
110
views
Magento 2 - Remove option for same biling and shipping
I have a site which requires all customers to enter a different shipping and billing address. I know a little strange but all orders will have a different shipping and billing.
The problem I have is ...
4
votes
0
answers
524
views
Magento 2 add customer address attribute to REST APIs response?
I have created customer address attribute "city_id" with setup script.
I am able to save the value. but want to display the city_id field to the below apis json response. how we can we add city_id in ...
4
votes
0
answers
549
views
Before place order validation in magento2
In magento2 before place order check new customer form (billing address form) open and filed is not fill then not place order and show message please fill the form then place order, now in magento2 ...
4
votes
0
answers
1k
views
Default Billing Address not saved when user having no address and do checkout In Magento 2
I need help to save the default shipping address as Default Billing address.
Steps to follow :
Register as a new customer
Now add product into cart
Go to Checkout and fill Shipping Address
Place an ...
3
votes
3
answers
7k
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 ...
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 ...
3
votes
2
answers
4k
views
Magento2: How to show billing address at bottom of payment method instead of showing for each payment
I want to show billing addresses at last of payment step only 1 time instead of showing for each method. Now the billing addresses are in payment method container. I have checked there is code in form ...
3
votes
1
answer
4k
views
How to remove telephone number as required field in billing and shipping on admin side?
How to change telephone number to not being required on the admin side billing and shipping information?
Could this be done with some SQL query?
3
votes
1
answer
3k
views
How to clear billing form validation errors when using Magento UI components
Default magento checkout behavior when using new customer billing address form (related to newCustomerBillingAddress name in the local storage).
we uncheck "My billing and shipping address are the ...
3
votes
1
answer
1k
views
How to reorder input billing address in Magento 2
I want move this input to this, it is suffix input. I use this code but it not work in billing address. I created module and followed https://inchoo.net/magento-2/frontend/reorder-input-fields-...
3
votes
2
answers
9k
views
Magento 2 : Default billing address not selected by default on checkout page
I am using Magento 2.0.7 and my default billing and shipping address are different in My account Address section.
When I am going on checkout page my default shipping address selected by default and ...
3
votes
1
answer
1k
views
Magento 2. Populate New Billing Address Form with default billing address values
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 ...
3
votes
1
answer
1k
views
M2.2.4 Checkout: Adding New Shipping Address automatically sets address as Billing Address
When adding a new address to the shipping address list on the first part of the onepage checkout, I have noticed that it will automatically set the new shipping address as the billing address on the ...
3
votes
1
answer
3k
views
Magento 2: How to Set Max Length on Billing Address at Checkout Page?
I have achieved for Shipping Address Magento 2: How to set Max Length for Street Address?
Struggling with Billing Address on domain.com/checkout/#payment
My Payment Method is Bank Transfer. I have ...
3
votes
1
answer
2k
views
Magento 2 country name not showing in Billing/shipping address at checkout.
I installed fresh Magento 2.1.8.I didn't change anything.
When I am trying to place an order, I noticed country field is empty in billing as well shipping section.
I don't think that I am doing ...
3
votes
2
answers
3k
views
Magento 2 Change Billing Address format from select dropdown to box as the Shipping address format
I want to change the business address format shown in checkout page. By default it is select drop down.How can we change it to the format like shipping adddress is shown. I am new to knockout js.
...
3
votes
1
answer
1k
views
How can I add the Company Name to the Billing Address information in a new order email?
How can I add the Company Name to the Billing Address information in a new order email? I would like to see the customer name, company name (which is a required field), and the rest of the address. ...
3
votes
1
answer
751
views
How to remove the error message in magento2 checkout page
I need to remove the error message in the magento2 billing address on the checkout page. How to remove that.
3
votes
0
answers
1k
views
Magento 2 :Change order of billing address
In the customer account section,how can i edit the order of address data(billing and shipping)(ie, i want to show customer company first and customer name second)
https://prnt.sc/nucm3l
I found this ...
3
votes
0
answers
699
views
Force to show the billing address form on checkout
What I want to do is to force user to fill out the billing address on step two at checkout.
In my javascript file I've added a subscription:
quote.billingAddress.subscribe(function (billingAddress) {...
3
votes
0
answers
1k
views
How to bind custom field to billing address Magento 2
The Question:
How to override/customize/add billing address bindings?
The Context:
I've added some custom inputs to Shipping page in Checkout page. As shown below. These fields are there to replace ...
3
votes
0
answers
545
views
Magento 2 : Add Custom Fee Based On Shipping and Billing Address
I already refer this :
how to add fee to order totals in magento2
But my requirement is diffrent.
I need to add custom fee in order total based on Shipping or Billing address selected by customer ...
3
votes
0
answers
1k
views
Magento 2 : How can i add custom customer address field in e-mail template?
I have added one custom Field for customer address, and i want to display in checkout page, customer my account section and in All sales email template (In Billing and Shipping Address). Please help ...
2
votes
3
answers
7k
views
How to get list billing address and list shipping address based on customer id
Please, can someone tell me, how to get list shipping addresses and billing addresses the specific customer by customer id in Magento 1.9?
Thanks.
2
votes
2
answers
1k
views
Removing various states/provinces from shipping but not billing address
I've searched all around and haven't been able to find a solution to this.
I'm on Magento 2.1.7 and need to remove the option for shipping to any province other than Ontario (Canada) from my check-...