Questions tagged [address]

For questions about the use of shipping/billing addresses in Magento.

Filter by
Sorted by
Tagged with
2
votes
0answers
31 views

How to create new type of customer address like billing and shipping in Magento 2 (EX : xyz address)

How to create new type of customer address like billing and shipping in Magento 2 EX : xyz address
0
votes
1answer
507 views

Magento 2 : How to change state list for USA? [duplicate]

How can I change/remove some states from Shopping Cart and Checkout page? For example. I need to remove: American Samoa; Virgin Islands; Armed Forces Africa (Americas, Canada, Europe, Middle East, ...
4
votes
1answer
916 views

region Id error on updating address using address Id in magneto2

I followed below link to update address using address id Update customer address using address id in magento 2 I am getting this error upon executing this code protected $addressRepository; public ...
8
votes
3answers
2k views

How to update customer address using custom Api in magento2?

I have created custom API to update customer address using customer id or address id. Below code I used to implement it. [Vendor]/[Module]/etc/webapi.xml <route url="/V1/address/createUpdate" ...
1
vote
0answers
23 views

Shipment Note PDF Print don't shows the shop address magento2

I am trying to put the store address to the shipment pdf. I found that Magento has an own function for address insertion, but it doesn't work. Sales/Model/Order/Shipment.php public function getPdf(...
2
votes
0answers
236 views

How to add new address for a existing customer through REST API

I am facing one issue. Actually I have created first the customer profile using magento2 through REST API but now I am trying to add the address for this existing profile but unable to do it. My code ...
1
vote
1answer
476 views

Magento 2 : From where (PHP) is the checkout billing address options drop down being populated?

From where is the checkout billing address options drop down being populated? How can I control the options? EDIT: Found root/vendor/magento/module-checkout/view/frontend/web/js/view/billing-...
1
vote
0answers
30 views

M2 : After magento upgrade not able to save “state” form address edit page

I have upgrade magento version after that i'm not able to save state (region), from both admin and frontend side into address edit section. I have check customer's attributes and address attributes ...
1
vote
2answers
714 views

How to set required field ''State/Province' of add new address in My Address Book, magento 2?

Using magento 2.2, I want to set required on field State/Province in Add New Address in 'my address book'.
2
votes
1answer
380 views

How to disable link in telephone phone number in address book?

Using magento 2.2, I want to remove link from phone number in address book. Not allow user click on number.
0
votes
0answers
30 views

Get new field address in the payment module (capture function). M2.2.4

I added a new field (neighborhood) at the client's address. Everything is working. But, I need to get this value from my payment module. I created the capture ($payment) function. With the $payment->...
0
votes
1answer
146 views

Unable to place order from Magento Admin, showing error on city field required

I am unable to place order from admin. I enter all the data in required field. When I place order, error showing in the City field - this is a required field. I am using magento 1.9.3.7 version can ...
0
votes
1answer
52 views

Magento 2 - billing address not changed

following code: <?php namespace UV\Adressen\Observer; use Magento\Framework\Event\ObserverInterface; class LieferadresseEditObserver implements ObserverInterface { private $...
2
votes
0answers
496 views

Add custom attribute to sales order address

I have a custom attribute for customer address which I setup using EAV, I load the custom attribute for customer address using order like this: // Magento\Customer\Api\AddressRepositoryInterface $...
0
votes
1answer
333 views

Which event fire on address change in Magento 1 Admin?

After place new order by customer, If Admin change shipping address of customer from Sales-> Orders then I want to know which event fire while changing address, so that I can call my function in ...
1
vote
1answer
383 views

Default Billing and Shipping address

I would like to check when a customer click on “Place Order”, if he has a default billing and shipping address. If no, I would like to put the addresses of the order by default for this customer. ...
0
votes
0answers
20 views

Magento checkout

How to add Address verification block on payment step in magento2. Please review below screen show link https://prnt.sc/irgs46
0
votes
0answers
23 views

Magento 2. Order View Addresses not showing

I have some wierd issue with Order View Addresses as can be seen in print-screen What I've done: rm manually pub/static/frontend + static content deploy Any tips? FWI: This happend after I ...
0
votes
1answer
915 views

How to add customer new Address(multiple shiiping and billing addresses) through API in magento2.1.7

How can I add customer multiple address through rest API in Magento2.1.? Hope currently there is no API for adding additional customer address.So, Please let me know is there any other option to add ...
0
votes
1answer
171 views

How to get default selected customer shipping address?

if (is_null($this->_address)) { if ($this->isCustomerLoggedIn()) { $this->_address = $this->getQuote()->getShippingAddress(); } else { $ship = $this->getQuote()-&...
1
vote
2answers
651 views

Close modal popup gracefully in magento2

I am using Magento modal popup for various functionalities in checkout. I am working on an address validation module which fetches the corrected address from USPS API and displays the corrected ...
0
votes
1answer
2k views

Magento 2: Add or edit address in popup

In customer account address book, add or edit address is managed in separate page. I want to add or edit address in popup modal(same like shipping address popup modal in checkout page)*. How it can ...
1
vote
1answer
1k views

Magento 2 how to add city dropdown

i am trying to city as dropdown in only checkout page with following script in Magento\Checkout\Block\Cart\LayoutProcessor.php $elements = [ 'city' => [ 'visible' => true, ...
0
votes
0answers
157 views

$customer->getAddressess Error

I am using Magento 2.1.7 CE sometimes when Im trying modify cart (remove product, add, or update qty) I got Error: "Invalid customer address id XX". I noticed that in class Magento\Framework\...
1
vote
1answer
877 views

Magento 2 : Delete address from after login from address book

I want to delete the address which I have saved earlier from here but in vendor-> Magento_Customer\templates\address in addressbook file we have only edit address action but not delete action so ...
0
votes
0answers
333 views

magento 2 , write custom query in customer_address_entity, We can't save the address

I am trying to add a custom field(customer_type) value using observer to customer_address_entity table.The edit is done in BeforeAddressSaveObserver.php file. The problem is the field is not getting ...
2
votes
2answers
634 views

Remove Add New Address and delete buttons on adminhtml

I want to remove these 2 buttons denying the ability to create or delete addresses. How Magento renders this layout? It seems it has to be this file: /module-customer/view/base/ui_component/...
1
vote
2answers
1k views

Magento 2 - Address format

How can I edit the address format? I know that I can add 3 more lines at Stores/Customers/Customers Configuration/Name and Address Options/Number of Lines in a Street Address. Then I can set as 4. ...
2
votes
3answers
2k views

how do disable/remove Zip Code for specific country in magento 2

How can i disable/remove Zip Code for specific country in magento 2 For example if some one select UAE than Zip Code field should remove or disable else it should visible.
0
votes
1answer
627 views

Magento2: Disable user from changing addresses

Is there a way to disable customers from adding, editing, or deleting addresses on their account? I want to be able for users to add the address during registration and then after the account is ...
1
vote
1answer
329 views

Specifying an existing address for a user's billing / shipping?

I'm using the following: POST /V1/carts/{cartId}/shipping-information POST /V1/carts/{cartId}/billing-address My idea is to have a form that allows people to select one of the addresses ...
7
votes
2answers
3k views

How to get customer address with address id

Can i get customer address like picture below with address id? If i can, how should i do it?
0
votes
2answers
379 views

Fax Field not showing

When you save a customers address trough API you have the option to GetFax() and SetFax() but if i look at my backend i don't see Fax anywhere in the addresses Anyone any idea if there is a setting ...
1
vote
0answers
1k views

Get shipping price with and without taxes

I doing a connection with a webmarketplace. So I developed a script to export my products into a xml file. But, one of the problems I have is that I can't get the shipping amount. I need to get ...
2
votes
3answers
843 views

Magento 2: Can't delete additional address from address book

When I am going to delete an address from "My Account" address book I am getting error message We can't delete the address right now. But some other account I can delete the address. I have checked ...
1
vote
0answers
150 views

Customize Billing Address List in Magento 2

Below is list.html file for Billing address. Which contains dropdown with addressOptions. <div class="field field-select-billing"> <label class="label"><span data-bind="i18n: 'My ...
3
votes
1answer
5k views

Update customer address using address id in magento 2

How can i Update customer address using address id in magento 2 ? programatically how can i update customer address using address id .
6
votes
4answers
4k views

How to add label on all lines of street fields in checkout and turn then required?

Magento has a feature to define between 1 and 4 fields, how much we will want to use in the street field. I've activated 4 lines and would like to add labels line by line. I did this on the user ...
0
votes
1answer
472 views

How to remove password box in checkout page and disabled email ajax call Magento 2

I need to remove password box after call email ajax. I don't need this functionality while backend side guest checkout setting is on.
0
votes
1answer
44 views

Intuitively show in frontend that address is too long

I am already using the Magento form validation, but I would like to let customers know exactly which part and by how much is the string too long. Is it possible to implement a character counter next ...
2
votes
1answer
229 views

How to Add Multiple Pickup Address

I have two stores, one from San San Antonio and another one Detroit. I will get the details from the customer, I am using FedEx and UPS, Supposed user select San Antonio, San Antonio based shipping ...
0
votes
1answer
1k views

Checkout Error - Street address cannot contain more than 2 lines

I have hit a problem when trying to test my checkout on Magento 2.1.6. After reading through a lot of this threads comments: https://github.com/magento/magento2/issues/6929 and following the advice ...
0
votes
1answer
321 views

How does one persist a extension attribute in the Order addresses?

I created a extension attribute for my customer addresses using this tutorial. How can I copy them to the order addresses when I finish the checkout and display them in the order?
0
votes
1answer
2k views

Magento 2: how to add City in dropdown?

Is there any way to add cities as drop down? I want to add a city drop down for a specific country, there will be no states and city drop down to be shown on the registration page, checkout out the ...
4
votes
4answers
7k 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 ...
2
votes
0answers
213 views

Adding custom attributes to states and a dropdown to cities

I would like to change the way the users enter addresses, and I have several doubts about the best way to do it. First, I need to add a drop down for states/provinces to other countries, for what I'...
1
vote
1answer
42 views

Magento v1, rename country

Is it possible to rename a country that appears in the select menu when adding an address? I'd like to rename United Kingdom to UK Mainland.
1
vote
1answer
449 views

How to link a customer's addresses to a specific address

How to point all customer's addresses to one specific address? When a new customer is created, the address ID is assigned to the customer's shipping and billing, but it seems that the address' ...
0
votes
2answers
534 views

Magento 2.1: How can i add email to “New Invoice” template

I'm using Magento 2.1.2 for my ecommerce and trying to figure out how to add customer email to "New Invoice for Guest" and "New Order for Guest" email template. Is there a way to add customer email ...
4
votes
1answer
3k views

Magento2: Add a New Customer Address

I'm trying to add a new customer address using Magento 2 REST API in C#. I'm using POST /V1/customers/:id. I keep getting the below error. Where do I find the regionId? Is there another API I can use ...