Questions tagged [customer-address]

Denotes question related to customer-address in magento 1 and magento 2

Filter by
Sorted by
Tagged with
1
vote
0answers
16 views

Magento 1.9.4.3 - Can't edit customer in Adminside or backend

I have many customers but when I edit customer thought backend like admin side but can't edit I face some issue and when Add New Address can't do anything see below snap.. when edit customer ...
0
votes
0answers
14 views

Magento 2 - City drop-down validation issue

change City input field to drop-down in customer address form. but i can't resole city filed validation issue. How to change City field to a dropdown in Checkout step Magento 2
1
vote
1answer
25 views

Magento 2 call customer/address/new/ form in popup

I am looking for solution to add new address form in my custom module phtml file.This form will save with ajax. I have no idea about it.Please help me.
2
votes
1answer
158 views

Magento 2.3.3: Creating customer address in admin shows no countries or wrong countries in dropdown

I have just one country allowed in configurations. If I try to create new address for customer in admin, the country dropdown does not show any countries, not even one. I can't save the address, ...
2
votes
1answer
39 views

How to add label to street fields in Customer registration in admin panel?

I want to add two more Labels Colony and Area after Street Address.How can I achieve this ?
1
vote
1answer
42 views

Magento 2 - Fetch Customer Address Attribute

I need to fetch the value of customer address attribute just like we have product attribute I am using Magento\Customer\Api\AddressRepositoryInterface and created the instance from it $...
1
vote
1answer
106 views

Magento 2 Allowed Countries Admin Issue

Magento ver. 2.3.3 Choose a few allowed countries. Then go to Customer Address Edit Form in Admin area. Country dropdown is not as we expected. If I just use 1 country none will show up if you ...
0
votes
0answers
14 views

How can I unchecked custom Yes/No address attribute in the checkout new address popup?

I created a new custom customer address attribute and I set the default value to "No" but when I add a new address in the checkout step I always see the option checked. Is there a way to make it ...
0
votes
1answer
34 views

How do i get the value from addressInformation Magento 2

How do I get the example value which is the date. $billingAddress = $order->getBillingAddress(); $shippingAddress = $order->getShippingAddress(); these two don't have it But it saves in ...
0
votes
1answer
48 views

How do you get values from Quote_address table Magento 2

I have added new column in Quote_address table but I am not able to get the value when i do the following steps; $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $...
0
votes
0answers
13 views

How i can add custom address to shippingQuote

How to add your address to multisping so that the same addresses are grouped. Like standart addreses wich you create. protected function getCustomAddressDataById($addressId) { $addresses = []; ...
0
votes
0answers
67 views

Customer address problems after migration from Magento 1.9.2.4 to Magento 2.3.2

I've searched high and low for a problem the same as this, and while I have found some seemingly similar, after investigating they are not linked. I migrated fine, and products, categories, ...
1
vote
0answers
30 views

Magento 2: Create new customer address type [duplicate]

How can we create new customer address type(like billing and shipping) in Magento 2.3.x ? That new address type should work same like billing or shipping i.e. it should be assigned to particular order,...
2
votes
0answers
11 views

How to get customer default shipping and billing address data (i am after country and postcode)

I have customer ID - Not sure how to grab the default shipping/billing address. I can get the current shipping address and billing address but not the default. Is there any way I could get the default ...
0
votes
0answers
162 views

Magento 2 A customer with the same email already exists in an associated website error

I'm stuck in a weird problem. Everytime I try to create an account and add an address to that account programmatically I get an error called A customer with the same email already exists in an ...
4
votes
4answers
1k views

Magento 2.3 - Customer address attribute not saving in checkout from

I have created a custom custom_address attribute "a_mobile_phone". I can save the attribute in the admin and the customer address edit form. I have added this attribute to the checkout address form ...
1
vote
0answers
35 views

Magento 2 - Uncheck Billing and Shipping are the same for selected Payment Method

I'm trying to uncheck Billing and Shipping Address are the same but for only one payment method and leave all the other with this option selected but I'm unable to do it with this solution bellow. The ...
1
vote
2answers
583 views

Magento 2.X - Invalid Customer Address Id comes randomly for the customers on checkout

I've faced an issue in Magento 2.2.9 says "Invalid Customer address id XXXX" randomly for the registered customers on the website. [2019-08-09 02:44:33] main.CRITICAL: Invalid customer address id ...
2
votes
0answers
331 views

Magento 2 customer data migration & volume check failed?

I would like to migrate only customers data using magento2 data migration tool. Can anyone suggest how to resolve the below error when migrating data [2019-08-06 12:20:19][INFO][mode: data][stage: ...
1
vote
0answers
26 views

VAT Customer shipping goods to different country with billing address VAT magneto 2.2.3

Not sure how to get this working, if anyone has any idea will be appreciated for the time. My aim is to create a module to check if the customer passing two different countries in billing and ...
1
vote
0answers
18 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 ...
0
votes
0answers
27 views

How to create two different form for the customer registration one is default and the other is Seller

I want to create the separate registration page for the seller and the customer, please guide me. I created the custom module for the seller registration page, where i called the custom page in ...
1
vote
0answers
37 views

Updated address not reflecting at Checkout in Magento 2

I have customized the Checkout, Where I split the checkout into 3 steps. Cart section. Shipping Payment. In the Shipping section, I am showing the customer address details with an edit button to ...
0
votes
0answers
17 views

Magento2: How can remove street address search in customer admin grid?

I want to remove street address search when search by text. It should search by name and phone numbers. Anyone have an idea for that.
3
votes
1answer
285 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\...
3
votes
0answers
26 views

Magento 2 : In registration page how to ask for shipping address different than company address?

In registration form I want to ask the user if he wants to use a different address for shipping address. If that is true, then he can input the fields for the shipping Address. I have tried to ...
0
votes
1answer
49 views

Can't override phtml template, displays blank page

I have override vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/address/edit.phtml and placed the replaced file in: app/design/frontend/ParentTheme/childTheme/...
0
votes
1answer
130 views

How to get street address in customer edit form

Currently, I am in the customer address form block \Magento\Customer\Block\Address\Edit $block How to use $block and get the street address of the customer address. I tracked the street address is ...
0
votes
1answer
54 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->...
1
vote
0answers
28 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
0
votes
0answers
30 views

Creating custom button in customer address section Magento v2.3.1

I have created the custom button in the customer address section and it's showing well. When I edit any customer it's working normally/expected. But when I click on Add new address it's throwing an ...
1
vote
1answer
199 views

Magento 2 How to get Customer address after registration?

How to get customer address(company,telephone,country,state,city etc.) after registration in observer? I am using observer. Code - $customer = $observer->getData('customer'); first name and ...
0
votes
1answer
101 views

How to identify if region_id is required or region (region_name) is required?

I am creating customer address in Magento 2 programatically. In few countries the region_id is required, which can be obtained from the model \Magento\Directory\Model\Region, for example forUS ...
0
votes
0answers
12 views

Is there a way in magento2 to detect if placed ordered ADDRESS IS NEW ADDRESS OR NOT?

I'm using Magento 2 order split 3rd party extesnion which is splitting order based on the seller. if an user placed an order having 2 items where each items have different seller then 2 order will be ...
1
vote
0answers
39 views

New Customer address attribute not saving on Frontend

I have created a new customer address attribute, it shows the field correctly on the frontend BUT it doesn't allow you to save the data. It does work correctly when saving through admin, and then ...
2
votes
1answer
75 views

How to change a state placeholder from the cart and checkout shipping summary

I want to change state placeholder on the cart and checkout summary section. In dropdown state/Province for showing "Please select state". Instead of "Please select state" I want to display "Please ...
1
vote
0answers
20 views

How to add VAT validation Check

Is it possible to add a VAT validation Check when user saves it (frontend)
2
votes
2answers
306 views

Loading a customer address by a custom attribute

I've added a custom attribute to customer address entity which is a backoffice ID. I've synced addresses from clients backoffice. If order maintain a continual sync to check whether address exists I ...
0
votes
0answers
46 views

Get custom customer address attribute on email

I have a module with which I create my attribute. I can get it and show it in the admin panel, but not when the data is recibed on checkout process. This is my installer code: public function ...
2
votes
0answers
513 views

Magento 2 Save custom customer address attribute in customer edit form using extension attributes

I want to save custom customer address attribute in Customer Edit Form under My Account section. I have created an attribute using Setup script and save that attribute using extension attributes. ...
1
vote
0answers
25 views

Exclude addresses from checkout

Please Help me on this, We have a one customer which has three different addresses in his account.in to the entity of address i have a select attribute field with values A,B and C. My question is how ...
0
votes
0answers
49 views

How do I remove store-wide the state/province field for users

In our German store for users it is not required to select a state/province for their personal address or shipping addresses. I already managed to disable the the field in the store frontend via the ...
1
vote
0answers
35 views

Magento 1.9.2. - Save the attribute of the customer_account table in the form customer_address

On the customer address change page I am trying to add fields for some custom attributes that I have created and inserted into the customer_account table. After several tests I saw that in the edit....
0
votes
1answer
54 views

How to put labels in the input fields in the customer address edit?

In Magento 2.x, on the customer account screen, I need to add labels to the address inputs. What is the best way to do this? I was able to perform the same modification on the address inputs of the ...
0
votes
0answers
95 views

Magento 2: How to load another customer data on checkout instead of current logged in customer via custom module?

I want to show a customers list as dropdown on checkout page and when I change the customer from that dropdown list, All details like shipping addresses, customer detail should be change according to ...
5
votes
1answer
107 views

Magento 2 - What is the LayoutProcessor for addresses in the admin panel?

When adding a field to the address form of the checkout in the front end I could do so by creating a plugin for \Magento\Checkout\Block\Checkout\LayoutProcessor. I would like to add the same field ...
1
vote
1answer
350 views

Custom address attribute: issue on display value magento 2

I have created a custom attribute for customer address. I can see the attribute on admin, I can insert value on frontend, the value saved successfully (and it displayed in address preview) however if ...
2
votes
2answers
602 views

How to get Region text from address id (Magento 2)

I am not able to get region text from address id, <?php $_pAddsses = $block->getDefaultBilling() ?> <?php echo $block->getAddressById($_pAddsses)->getRegionId() ?> // ...
1
vote
0answers
8 views

Is there any way to retain the entered customer billing/shipping addresses in magento admin once entered?

We see that the addresses of billing/shipping added to the order creation process gets erased if we remove all line items from the cart and then add back new product using "Add products by SKU" button....
5
votes
0answers
27 views

Load default address when logged in on magento2

I want to load magento2.1 default address on my cart page address box when i'm logged in. mean that, when i'm in one step checkout page and logged in, in my address part, see default address instead ...