Questions tagged [address]
For questions about the use of shipping/billing addresses in Magento.
227
questions
0
votes
0
answers
22
views
Unusual Behavior in Magento 2.4.4 Commerce: Editable Address Gets Added as New Data After Successful Checkout
I am investigating a bug that is occurring in a Magento 2.4.4 Commerce project.
The bug occurs when the following steps are performed:
Editing an address on my profile page.
Checking out by selecting ...
0
votes
1
answer
31
views
How to override customer address template
how to override customer address from customer account area and shipping option at checkout.
I aim to add a regex to stop customers from entering special characters and letters.
Customer account ...
0
votes
0
answers
22
views
What is the list of EU countries used for?
In the Admin Panel under Stores > (Settings) Configuration > (General) General > Country Options within the global scope, admins can configure the list of member countries of the European ...
0
votes
0
answers
54
views
Add/Edit address in popup (My addresses tab)
In the customer panel under My Addresses, we have the option to add a new address or edit an existing one. When we click on add/edit address it takes us to a new page. How can I make the form open ...
0
votes
0
answers
17
views
Is there any way to view the store name and store address using the rest api?
I've tried all the store related endpoints such as storeConfigs, storeViews, and etc but I've yet to find any that give the store information located in the configuration tab on magento.
4
votes
2
answers
590
views
Extension Attributes not storing data in database
I am working through the Add a new field in the address form tutorial. I've copied the tutorial, and the custom field is appearing on my Checkout page. However the fields are not stored when ...
0
votes
0
answers
43
views
In magento 2.4.3 how to do mandatory a shipping address field based on country selection in js
In Magento in the shipping address page, based on user selected country i need to make Address 2 field as mandatory.
When the user select US - the address 2 field no need to be mandatory.
When the ...
0
votes
0
answers
106
views
Magento 2 Save Custom Address attributes in quote address
I have created 2 custom address attributes house name and landmark. From the backend, I can save the values of the attributes and it is shown in the address section. Also I have created fields in the ...
0
votes
1
answer
122
views
Mzgento 2 : Hide state/province from new address form in backoffice
I need some help for what I'm trying to do: remove or disable the state/province field in new/edit address form in backoffice unless the admin choose some specific countries.
Is there anyway fo remove/...
2
votes
0
answers
176
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
2
answers
1k
views
In Magento2, Region/State is not showing on address in checkout page
I'm barely new to Magento2 and Magento in general.
The version I'm using is ----> 2.4.3-p1
I'm facing this issue: when I add a new Address in checkout page, it doesn't show the Region/State field, ...
0
votes
1
answer
35
views
how can change the header address?
how can i change the address, where is the setting?
Also, the footer how can change the phone no and email?
1
vote
1
answer
54
views
Sorting Street fields in magento 2.4
I am with a need to reorder 03 street fileds in the following order in shipping, billing, and customer address forms.
street[2] - first
street[1] - second
street[0] - third
I could reorder other ...
0
votes
2
answers
80
views
Send email after a customer change address in address book
I need to send an email after a customer try to save a new address in his address book
0
votes
1
answer
38
views
get Address Information in new order email
I need to display the Address information block in a new order email
0
votes
1
answer
129
views
The address fields during check-out are in the wrong order! How to order them in a logical way that customers are used to?
Magento 2.4.2-p1
Smartwave Porto theme
extensions from Amasty
We switched to Magento 2.4.2-p1 and the order of the Address fields during check-out is:
First Name
Middle Name/Initial
Last Name
Company
...
0
votes
1
answer
245
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'...
0
votes
2
answers
204
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
75
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
1
answer
184
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.
...
0
votes
3
answers
686
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
1
answer
2k
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
2
answers
1k
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->...
0
votes
3
answers
478
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 ...
1
vote
0
answers
162
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
0
answers
246
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
1
answer
1k
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
0
answers
330
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
1
answer
186
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="...
3
votes
1
answer
1k
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 ...
2
votes
0
answers
63
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
1
answer
1k
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="...
2
votes
2
answers
1k
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 ...
1
vote
1
answer
121
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
0
answers
413
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
1
answer
294
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
2
answers
2k
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++)})}...
1
vote
2
answers
931
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 ...
0
votes
1
answer
794
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/...
0
votes
1
answer
43
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 ...
0
votes
1
answer
647
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
...
0
votes
1
answer
297
views
One page checkout html file
In one page checkout i need to find html file for the address block. Please can someone help me with that. I want to put first name and last name together in a div.
2
votes
1
answer
1k
views
Magento 2.3.2 How to add Multiline component field in admin form using ui component
I want to add a field like Street address in my custom module. same as customer Address Add from back-end form. it will look like below image.
How can I add this kind of field using the UI component?
...
2
votes
1
answer
4k
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
...
0
votes
1
answer
609
views
Addresses Delete not working in address book Magento 2.3
Add additional addresses to address book in magento 2.3 then Click on ' Delete Address' link in address book it redirect to 404 page and invalid url shows.
3
votes
1
answer
4k
views
Save customer custom address attribute programmatically
I have created new address attribute hide_address with yes no value. Using setup script:
if(version_compare($context->getVersion(), '1.0.2', '<')) {
$objectManager = \Magento\...
1
vote
0
answers
158
views
Add custom address attribute to checkout
I create custom address attribute, same as suggested here:
https://codeblog.experius.nl/magento-2-add-extra-billing-or-shipping-field-to-the-checkout/
But when I place an order there is error occurs: ...
0
votes
1
answer
551
views
Customer street address second line not getting populated
I have address the 2nd street text box(2nd street line), but when I enter the address on both text boxes.
code for 1st street line
<input type="text" name="street[]"
value="<?= $block->...
0
votes
1
answer
174
views
Remove the Required field for the postcode at the checkout page
Remove the required field for the postcode for the billing and shiping Address
1
vote
0
answers
93
views
How to add label on all lines of street fields in backend customer address field and turn then required?
how to add label in the backend admin grid that is sales->order-> Create new order from the backend and add the street label and also remove the required field for the postal code