Questions tagged [customer-address]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

I'm trying to define a new customer address attribute that will be available in all the customer address forms (backend, frontend, checkout)

So far I have managed to save the value in quote_address and sales_order_address when placing the order how can I save the value in the customer_address_entity_varchar table. when customer address ...
0
votes
0answers
8 views

Exception occurs when I try to update customer email in Magento 2 by using customer repository by Rest API

Here is my code for Change email function. public function changeSellerEmail(){ $paramData = $this->_request->getParams(); $sellerId = $paramData['seller_id']; $password = $paramData['password'];...
0
votes
0answers
33 views

how to call address dynamic block in template file with arguments?

Hi here is my code in the layout XML file. <block class="Magento\Customer\Block\Address\Edit" name="customer_address_edit" template="Magento_Customer::address/edit.phtml&...
0
votes
0answers
7 views

Unable to extend the Customer address edit block for front end address country and State field customizion in Magento2

I'm unable to extend the Magento\Customer\Block\Address\Edit edit block to customize the existing country and State field in my account address field. How to customize the edit address block in ...
0
votes
1answer
45 views

I have multistore website, stores are like A, B, C, D and its respective country is W, X, Y, Z. country selection based on website entered in magento2

I have a multistore website in magento2 my stores are like A, B, C, D and its respective country is W, X, Y, Z and I have limited shipping like I want shipping only for four countries. suppose ...
0
votes
0answers
21 views

Where is New Shipping Address processed during checkout

I am using freshly installed magento2.3.5-p2 I am required to create backend processing such as log storing to store the data when New Shipping Address is added during checkout below is the page where ...
0
votes
0answers
87 views

How to open a new popup box besides Edit Link in each and every shipping address section of Magento 2 Onepage Checkout page

I have debugged and tried a lot to add a new popup box like Edit link in each and every shipping address in Magento 2 Checkout page. Normally, it has been added a button in Vendor/Custom Theme/...
0
votes
3answers
51 views

Changing the order of fields in Customer Address Book (2.4.3)

I would like to change the order of fields when a customer adds an address or edits an existing one in the address book. Eg: I would like the zip-code field to be ordered before the city field. ...
0
votes
0answers
14 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 ...
0
votes
1answer
15 views

Magento 1.9 update street adress line 2 via PHP

I'm writing some codes to update customer address using php, but the site use 2 street fields, when i set it like $address->setStreet1('test 1'); it's not working $address->setStreet('test 1'); ...
0
votes
1answer
26 views

Magento 1.9 set exisiting address as default billing and shipping address

I'm writing some magenta 1.9 codes for set existing customer address to set as default billing and shipping address <?php $customerId = Mage::getSingleton('customer/session')->getCustomer(); $...
0
votes
1answer
44 views

how to save customer address attribute after order success event in Magengto 2?

I have added a new shipping address (without saving it in the address book) on the checkout page to place an order. I want to update the existing default shipping address value (zone attribute only) ...
0
votes
2answers
36 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
54 views

Custom Customer Address Attribute save value

I've added a custom shipping and billing address input field on checkout via layoutProcessor. The field shows up fine but when I submit the order the value of the custom attribute is not saved as the ...
0
votes
1answer
226 views

How to Block Customers by their Address in Magento 2?

I want a feature in which user will be blocked by their Address. Like I will add the address in block list of Magento Admin and then user will not be able to purchase anything if I add their address ...
0
votes
0answers
30 views

How to get the updated customer record in magento 2

I am trying to fetch the customer record which is updated. Customer update implies both customer entity as well as customer's address. I am relying on the updated_at column which technically says that ...
0
votes
2answers
244 views

Magento 2 How to get all customer shipping address

How do get all customer shipping address? Magento 2.3.5-p1 version for the customer table, we can use - customer_entity table name for the customer address table, we can use - customer_address_entity ...
0
votes
1answer
26 views

How it work Magento\Customer\Api\Data\AddressInterfaceFactory

I am analysising Magento\Customer\Model\Address\AbstractAddress By the way I am facing with $addressDataObject = $this->addressDataFactory->create(); in 567 line $this->addressDataFactory ...
0
votes
0answers
29 views

Customer address problems after migration from Magento 1.9.2.3 to Magento 2.3.3

I have checked the eav_attribute_set and I do not have any attribute set with entity id 2, I checked many solutions but has no luck till now, Please help me to out from this problem,
0
votes
0answers
37 views

How to get the custom EAV value loaded for the Customer Address table in admin?

I have a data patch which installs the custom customer attribute (of type "text"). It is EAV attribute, I specify 'is_used_in_grid' => 1 and life's good: in the admin I navigate to Admin -...
0
votes
2answers
123 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
1answer
18 views

Please enter a valid region error for regions with special characters

I'm trying to import customer addresses. If the region has a name with accents, Magento v2.3.6 won't recognize it. Example: Country code 'RO', region 'Timiș' - doesn't work Country code 'RO', region '...
1
vote
1answer
108 views

How to add columns to customer address grid in admin?

I have to add two fields to the customer's address grid, for this I have to add a left join to the Magento collection. I have created the following custom module: Vendor/Module/registration.php <?...
0
votes
1answer
20 views

Magento 2 : Make customer name optional while creating customer & saving address?

Is their any way we can make customer lastname as optional while creating & saving customer, also when we save customer address from $order->getBillingAddress()->getData() ? code for ...
0
votes
0answers
32 views

Magento 2 cart and checkout Array to string conversion error

Cart and Checkout Page error due to street address becomes array.
0
votes
1answer
21 views

how to change address information format in invoice, shipment and credit memo?

I want to change the address information format in shipment, invoice, and credit memo. Right now the format is Magento address information format like this I want to display the area and subdistrict. ...
1
vote
0answers
25 views

custom attribute in customer address grid

I am trying to add a column in the customer address grid in admin with a custom attribute. <column name="addresstypes" class="xxx\AddressAttribute\Ui\Component\Listing\Address\...
0
votes
1answer
294 views

Customer Address attribute added in grid in magento 2

I have added one customer address custom attribute. it is showing in the customer address form as a dropdown field. Now I want to show that as a column in customer address grid in admin with value. I ...
0
votes
1answer
147 views

Additional column in customer address grid in Admin in magento 2

I have added one customer address custom attribute. it is showing in customer address form i want to show that as coulum in customer address grid in admin with value. i have added this code: <...
0
votes
0answers
23 views

Account Information Link in Customer Dashboard is not working - Magento 2.4

Account Information Link is not working in customer dashboard, when i click on this link then getting below error.
0
votes
0answers
10 views

Default shipping addresses not stored

I'm having some issues to setup addresses as default shipping addresses for customer. [ As you can the the addresses exist in the list, but isn't set as default here is my code (it's a running script ...
0
votes
0answers
39 views

Magento 2 Admin disable or Remove Default Billing Address checkbox

I am looking to disable or remove checkbox from Customer address list in admin area, as I do not want that even by mistake an admin deletes default billing address of customer. Any idea how to achieve ...
1
vote
1answer
99 views

why region_code not storing properly in magento 2.3.5?

I am using Magento GraphQL api in my project. To create a customer address I used createCustomerAddress mutation(createCustomerAddress). Below is the mutation that I have called to create the customer ...
0
votes
1answer
16 views

Set default attribute value for existing addresses

Is there a way to create a new custom address attribute and set the default option to all existing addresses? Right now it only shows the default value when creating a new address and all existing ...
0
votes
1answer
24 views

How to modify magento 2 submission form?

How can I add labels to the address fields. Example: Field 1: Field 2: Field 3:
1
vote
0answers
119 views

Magento 2 - REST API filter customer data by address fields

I want to filter customers in a country,state,city or street in REST API. How can I do it? I am using the /V1/customers/search API Call. Now I can only filter by the customers default billing address ...
0
votes
0answers
16 views

Magento 2 how to setting Billing Address qty

i'm using magento 2.3.x , how can i setting Billing Address qty to 1 only? it just can give custumer to add one address or 2, thank you! i want customer only can setting one or two upper limit billing ...
1
vote
0answers
24 views

Magento 2 Checkout How to identify that customer add new shipping address on checkout?

How to identify that customers add a new shipping address on checkout(if customers do not want that shipping address which showing on checkout page)? After identifying the new address we need to ...
1
vote
0answers
185 views

Magento 2 override admin Controller Address Save.php

How to override admin controller address save.php I am using this code - di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
182 views

Magento 2 - What is the Event name after customer edit address only

I need to use events 2 places 1 - When customer verified email <event name="controller_action_predispatch_customer_account_confirm"> <observer name="...
2
votes
1answer
121 views

Cannot set customer group and creating address for customers right after register on Magento 2.3.4

I'm trying to update customers right after they register on the platform but I'm having some difficulties saving the data. What I'm trying to do is to add customers to groups based on their country, ...
0
votes
0answers
106 views

Backend automatically removes leading zeros / 0 from zip codes - Magento 2.3.4

In Germany, several cities have a leading 0 in the zip code e.g. 07907. When customers with such a zip place an order, magento removes the first zero and stores a 4-digit zip code with that customer ...
0
votes
1answer
572 views

How do I get the Area/City Name from Region ID for add address programmatically in Magento 2?

I got the state list from country code by following this blog for my Magento 2 store. I want to get the Area/City name from the state/region id, is there a way or method to get it in Magento 2.3.x?
1
vote
0answers
1k views

Checkout address custom attributes don't get rendered in address information components

I have to add a new customer address attribute apellido2, this field is a second last name and must be present in both shipping and billing address. So I after reading a few posts, I started with my ...
0
votes
1answer
386 views

Dispatch event is firing twice

I created a custom observer in customer_address_save_after event that retrieves customer data and send it via SOAP. So far, so good. My file Vendor/Module/etc/events.xml <?xml version="1.0"?> &...
0
votes
1answer
636 views

Magento 2 + Get customer default billing address in custom module js

Is there any way I can get a customer default billing address in custom js ? var defaultBillingAddresses = addressList().filter(function (address) { console.log(address.getType()); ...
1
vote
2answers
155 views

How to get Customer Address in formated way and print it - Magento2.3

How to get the Customer Address like above format and how to print it, If there is more than one customer address how to get the particular address of the customer. Thanks in Advance :)
0
votes
1answer
148 views

Magento 2 : Custom attribute of address not saving

I am using following code and trying to save SetLatitude() or ->setCustomAttribute('latitude',$address['latitude']) but it's not working. I followed this this solution <?php namespace ...
4
votes
2answers
3k views

Magento 2 checkout address buttons are missing and the developer console shows a customAttributes error

We have recently upgraded to Magento ver. 2.3.4 from 2.3.1 (open source) and currently have an issue in Checkout for registered customers. When they get to the shipping part of checkout they cannot ...
0
votes
1answer
94 views

Magento2 - How to save customer address attribute value in database and show on edit of reorder/new order?

How to save customers address attribute value in the database and show on the edit page when we reorder/new order? Screenshot: https://prnt.sc/r7w5d5. It's working when I update an already placed ...

1
2 3 4 5
7