Questions tagged [address]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
1k 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 that fetches the corrected address from USPS API and displays the corrected address ...
0
votes
0answers
13 views

Edit Customer Address Field To Accept Custom Format

I am developing using Magento2.3.5-p2 on Ubuntu 20.04 I am required to edit the customer account details as per below Description of the above image is as below The first and last name will be ...
1
vote
1answer
2k views

Magento 2 How to add onKeyUp to a text field in customer checkout address form?

I want to add a auto complete function to the customer checkout address form, but I found that the address fields are rendered by knockout js, I can't add the "onKeyUp" attribute directly. How can I ...
0
votes
0answers
12 views

Getting some Junk Value for billing and shipping address

In grid for shipping address I am getting value like this: На Ваш счет пришел денежный бонус http://maisbarnabes.com/cryptogods?keyword=kutsola123@gmail.com На Ваш счет пришел денежный бонус http://...
0
votes
1answer
21 views

customer address attribute's value not visible in customer grid

I Have created some custom address attribute, field is visible in grid and form, but value is not visible in customer grid. (address_email). I have check customer_grid_flat, for customer attribute it'...
4
votes
2answers
1k views

Disable P.O. Box entry on Paypal Express?

Is it possible to disallow orders shipping to PO Boxes when a customer is checking out using Paypal Express?
0
votes
1answer
21 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 ...
0
votes
0answers
19 views

How to stop to add same address Multiple times in Magento 2?

I have faced a problem regarding on adding same address multiple times like I don't want to add it multiple times same address. Any Help is appreciated.
0
votes
1answer
25 views

Magento 2 checkout page Error on checkbox My billing and shipping address are the same function () { return Math.max.apply(null, this); } error

On checkout page while checkbox is checked I am getting error function () {return Math.max.apply(null, this);} this error is coming after the Street Address value and displayed after street address. ...
1
vote
1answer
2k views

Want to edit Default Billing and Default shipping address individually

Right now if I edit only default billing address then automatically update default shipping address. Can anyone have any code idea to customize this?
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, ...
6
votes
12answers
29k views

Magento 2: An error occurred on the server. Please try to place the order again

When user want to checkout sometimes i got below message. After correction of Billing & Shipping Address Sometimes user able to place order some times not. Due to this customer not able to order....
0
votes
3answers
40 views

How to sort form fields in customer address book - Magento 2?

How can I sort the form fields in the customer address book? For example: I need the zip code above the city. I have already sorted the form fields in the checkout_index_index.xml for the checkout as ...
1
vote
1answer
169 views

Uncaught Error: Call to undefined method Magento\Quote\Api\Data\AddressExtension in magento 2

I have try to add custom field(textbox) in shipping and billing section on checkout page. I have create extension attribute like this : <?xml version="1.0" ?> <config xmlns:xsi=&...
0
votes
0answers
11 views

All address field validation in customer account page

I need to do validation on server side on customer account page.That is, edit address I can validate id=street1(inspect address field1),working fine.How to validate for other address fields - street2 ...
0
votes
2answers
32 views

Magento 2 - How to get Addresses collection

In Magento 2, I try to get addresses collection from table 'customer_address_entity', filter by updated_at field. I know I can get addresses for customer with this : $customer = $this->...
3
votes
4answers
461 views

Remove Addresses tab from customer edit page magento 2

How to remove Addresses tab from customer edit(form) page in admin panel Magento 2?
0
votes
1answer
344 views

Magento2.3: Cannot edit the address in Myaccount dashboard

I have tried to change the address via account dashboard but its not working and I'm getting the below error: 1 exception(s): Exception #0 (Exception): Notice: Undefined index: region in /var/www/...
4
votes
1answer
5k 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 ...
0
votes
1answer
37 views

Problem with the Address Template Magento 2.4

I am having problems with the address template, when I add a new client it adds fine, but when registering the addresses it does not do it correctly, it leaves all the instructions for this ...
0
votes
0answers
22 views

Magento 2 Pagination List Address on Checkout Page

Is there a way to make pagination for list address on the checkout page? I have some peoples who help my customer to make order on my website and the list addresses added every day, it makes slow the ...
1
vote
0answers
31 views

How to add new address type (customer address) in magento2

how can I add three new address types same as billing and shipping in magento2?
1
vote
0answers
27 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 ...
0
votes
0answers
38 views

Address region - inconsistent value of isRequired property causes "Call to a member function getRegion() on null" error

When creating a new account(user registration) I'm getting the following error. I have noticed it after update to 2.3.6 Fatal error: Uncaught Error: Call to a member function getRegion() on null in /...
0
votes
1answer
218 views

Add label for street and house number on address field in checkout Magento 2

I have the address field in Magento 2 Onepage Checkout changed to two lines. By default only the first line of this group has a label ("address") Now I want the first field to have the label ...
0
votes
0answers
83 views

Add default value in billing address checkout page Magento 2

I want to login customer address show in checkout page billing address. See screen-short, For Ex :- City is input-box and i want to show city name value. If the customer is registered, then I want to ...
1
vote
1answer
561 views

Region/Country portion of address not displaying in some browsers

On a mostly fresh installation on Magento 2.1.3, when a user fills out their shipping address in the checkout flow, <!-- ko text: address().region -- does not display a State. In Chrome 55 the ...
1
vote
2answers
1k views

Update billing address inserts javascript string in the address

when I hit update the billing address during checkout I get this string from legacy-build.min.js inserted into the address: function e(F,E){var D=0;try{this._each(function(H){F.call(E,H,D++)})}...
0
votes
0answers
33 views

get custom address attribute value from order in Magento 2

I have created 2 address attributes using data patch. Vendor/Module/Setup/Data/Patch/Latitude.php use Magento\Customer\Model\Indexer\Address\AttributeProvider; use Magento\Customer\Setup\CustomerSetup;...
2
votes
1answer
312 views

Magento 2 - Customer address custom attribute option label from value

I am using Magento 2.2.8 Enterprise Edition I have a custom address attribute area a dropdown attribute with multiple options. Now when I am getting value of attribute by using this code, I am getting ...
1
vote
1answer
25 views

Show both delivery and shipping address on registration

How can I show both of addresses on my customer register form on Magento 2.2.4 ? I've added this, but only one address is showing. This is customer_account_create.xml <referenceBlock name="...
9
votes
5answers
8k 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
5k 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 ...
2
votes
0answers
34 views

Checkout City Dropdown Magento 2

please I am trying to add specific cities to which my shipping carrier destination and make them dropdown in my plugin. This is my code so far but it's not working and I get Exception #0 (...
0
votes
0answers
12 views

Print Address / Shipping Label For Magento 2

Print Address / Shipping Label For Magento 2 We searched the module for address label print and we found the mls print module. We saw the good reviews on their site and purchased that module. After ...
2
votes
1answer
2k views

How to refresh shipping and billing address after checkout page load just like shipping Rates refresh using Knockout Js magento 2

Hi guys, i want to refresh shipping and billing address after checkout page load using Knockout Js magento 2. If you guys have any idea please guide me. Please check the code i tried below ...
4
votes
2answers
9k views

Update customer address using address id in magento 2

How can I update customer address by address id in Magento 2 programmatically ?
4
votes
5answers
11k 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 ...
3
votes
2answers
1k views

How to reorder street address on checkout page in magento 2?

I am getting every field unordered on checkout page but I added code to sort them and now everything is sorting but the street address is not getting sorted I am getting a street address field on top. ...
3
votes
3answers
10k views

Magento 2 How to add custom attribute to customer address and how to insert value in that attribute?

I want to add a new custom attribute to "customer_address" that I did with an attribute installer script, now I am able to see that field in "eav_attribute" table. I have created a module and I have ...
2
votes
1answer
651 views

v2.3.4 Customer Import - Please enter a valid region

I'm having a real nightmare trying to import customers using "Single File" right now. I've been using Firebear Importer for this, but I've since noticed that this is happening using the native ...
0
votes
1answer
207 views

Address Validation in checkout page in Magento 2

I want to validate street address line 1 & 2 with maximum 40 character and without special character. I am using below code for this but it's not working for me. etc/di.xml <config xmlns:xsi="...
1
vote
1answer
56 views

Customer Adresses rest api - add created_at

I need to return on the webservice /rest/V1/customers/ the created_at and updated_at fields from the table customer_address_entity. Any help? thanks !
0
votes
0answers
108 views

On place order button this error comes up "address" is required. Enter and try again. "address" is required. Enter and try again."

"address" is required. Enter and try again. "address" is required. Enter and try again. On place order button Any idea ,what m missing ?
0
votes
1answer
83 views

Update order status after updating order shipping address using plugin in Magento 2

I am trying to update the order status after the shipping address was changed manually from the adminpanel (when the order is already created). This is my di.xml content: <type name="Magento\...
1
vote
2answers
308 views

Magento 2: New field in checkout page, find its input value store in which table of database

I created a new field example in the checkout shipping. label example I can check in the table eav_attribte like the below images. But in which table I can check it's Input value if I put a value ...
8
votes
4answers
5k 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" ...
0
votes
1answer
24 views

M2 - How to fix wrong customer import

I have a live webshop and imported user from the old webshop. The amount of accounts is around 6500. The was something wrong with the import so everyone has a wrong address in their account. So I made ...
2
votes
3answers
2k 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 ...
0
votes
1answer
363 views

Magento 2: in checkout how to display input fields on the same row?

how can I display street , House number, Addition fields in one row? I have this file app/code/Mageplaza/Osc/Block/Checkout/LayoutProcessor.php <?php /** * Mageplaza * * NOTICE OF LICENSE ...

1
2 3 4 5