Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [customer-address]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Override checkout shipping/billing detail section

I have encrypted customer ,shipping/billing address , now I want to show decrypted customer address on checkout shipping page section , I have tried with plugin on process no success. Please suggest ...
user1's user avatar
  • 1
0 votes
0 answers
28 views

Updating a custom field added in edit customer shipping address

I have a custom field added for my customer address : \Magento\Customer\Setup\CustomerSetupFactory $customerSetupFactory; public function upgrade(ModuleDataSetupInterface $setup, ...
JohnM's user avatar
  • 1
0 votes
1 answer
78 views

How to Use Customer Address template (set address in Customer Address Template )?

Thank you in Advance I want to use customer address template to show customer template in format but I don't know how to do this ? You can find this configuration :- Store > Configuration > ...
Bhagyesh Bhalodiya's user avatar
0 votes
0 answers
54 views

Magento 2, In checkout page shipping method is loading while changing the shipping address

Magento 2, On the custom checkout page, the shipping method is loading while I am changing the shipping address and getting the below error in the browser console. js.storage.js:155 Uncaught TypeError:...
Dinesh's user avatar
  • 1
0 votes
2 answers
246 views

How to run the following exports: Customer Base and Customer Addresses?

A company is switching one of my Magento 2 websites to Shopify (or some system like that) and they asked the following: We were unable to run the following exports. Can you please provide them? ...
Allysin's user avatar
  • 260
0 votes
2 answers
585 views

Address empty in checkout after updating to 2.4.6?

I updated from 2.4.4 to 2.4.6, everything seems good, except for the checkout. It seems that the customer addresses are not loaded correctly. https://i.imgur.com/rZKZLs1.png When I go on to the next ...
user4095519's user avatar
0 votes
1 answer
57 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 ...
jibin george's user avatar
1 vote
1 answer
95 views

Custom Customer Address field not passing validation

I've added a custom field to the Customer Addresses with the following UpgradeData: public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { /** @var ...
dotancohen's user avatar
  • 1,115
0 votes
2 answers
1k views

Checkout Page Street Custom Validation

I want to add validation to prevent code blocks or special characters like {}%.
Muhammad Hamza's user avatar
1 vote
0 answers
187 views

Add custom validation for additional address field in customer account

I created a new validation role (testcaractere_speciaux_street) to eliminate specific spatial characters for the two fields address and address complement in the interface of the add address (customer ...
helmi saadaoui's user avatar
1 vote
1 answer
312 views

Prevent duplicate Billing address creation in cutsomer_address_entity after customer checkout

I have noticed one thing. When placing an order from customer side, each time, the default billing address is duplicating in the customer_address_entity table. I couldn't figure out where exactly the ...
Thulya's user avatar
  • 41
2 votes
1 answer
34 views

magento 2 bring key to first in customer address

i have multidimension array as below. [ { "id": 45308, "firstname": "Sanku Pradeep" }, { "id": 45309, "firstname": "Sanku&...
Pradeep Sanku's user avatar
2 votes
0 answers
56 views

Country Code Required - Magento 2.4.3

On one of our websites, we have issues after they have created the account they need to add the home address and shipping address to their account. When they do so they get "Country code is ...
Jan-petter Havna's user avatar
0 votes
0 answers
72 views

Magento 2: How to add reCAPTCHA to Customer Address Form

How can I add reCAPTCHA to Customer Account Address Edit and New address form
Paras Arora's user avatar
1 vote
1 answer
397 views

Magento 2 - Check if customer and customer addres created from admin backend

Is there a way in Magento 2 to check/know if a customer and a customer addres is created/edited from admin panel ? I was thinking using a oberver on customer_address_save_before and ...
tannos's user avatar
  • 21
0 votes
1 answer
555 views

How to add Multiple validation rule

I have to add three validation rule and as you see below code works well for one rule : validation-mixin.js define([ 'jquery' ], function ($) { "use strict"; console.log('this is ...
Peren's user avatar
  • 27
0 votes
1 answer
47 views

How to create a custom address attribute for customer and show that in edit address in admin?

I want to create a custom customer address attribute called customer_custom_id in the below address.( check the below image.). how can I do that?
Mohmad Ashik M A's user avatar
0 votes
0 answers
94 views

Customer address not save programatically in magento 2

I tried to create and save customer address for a registered, logged user. My code in controller is like below. $addresss = $objectManager->get('\Magento\Customer\Model\AddressFactory'); $...
Mujahidh's user avatar
  • 2,793
0 votes
1 answer
27 views

Glitch in Customer's Billing address in admin panel

I can see The first name and last name of the customer in Billing and shipping address is coming in the form of code. Please see https://prnt.sc/yezZ9OBC4C-t Can anyone help me in resolving this, and ...
Nicola Smith's user avatar
1 vote
1 answer
700 views

magento 2.4 save region as string in address

I'm importing my customers via code and part of that import involves addresses and regions. If the region is in the database, I have no issue in importing it, I simply get the region id by the region ...
Lou Nik's user avatar
  • 443
1 vote
1 answer
406 views

Magento 2: Add custom OrderAddress field in GraphQL

I have a requirement where I want to add a custom field in the OrderAddress query of GraphQL. Anyone who have done this can help.
Gaurav Agrawal's user avatar
0 votes
1 answer
13 views

Turks and 2 Caicos Region ID

One of the customer has the country and state details as below Postal Code-TKCA 1ZZ City-PROVIDENCIALES State-TCA Country-TCA County-TCA I have fixed by assigning country id as TC and region ...
Slimshadddyyy's user avatar
1 vote
1 answer
49 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 ...
Meet's user avatar
  • 13
0 votes
0 answers
532 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&...
Niraj Patel's user avatar
0 votes
1 answer
55 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 ...
Web developer's user avatar
0 votes
3 answers
439 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. ...
Hurrpadurr's user avatar
0 votes
1 answer
31 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'); ...
Suneth Kalhara's user avatar
0 votes
1 answer
172 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(); $...
Suneth Kalhara's user avatar
0 votes
1 answer
711 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) ...
Vinod Kumar's user avatar
  • 2,055
0 votes
2 answers
260 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 ...
magelanche's user avatar
0 votes
1 answer
2k 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 ...
s21x's user avatar
  • 96
0 votes
1 answer
2k 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 ...
Prits's user avatar
  • 625
0 votes
0 answers
269 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 ...
Manish Kumar's user avatar
0 votes
2 answers
2k 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 ...
sumeet bajaj's user avatar
  • 1,296
0 votes
1 answer
267 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 ...
Thomas Peters's user avatar
0 votes
2 answers
2k 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->...
Fbr's user avatar
  • 167
0 votes
1 answer
88 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 '...
Georgian's user avatar
1 vote
1 answer
821 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 <?...
Noty's user avatar
  • 76
0 votes
1 answer
129 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 ...
devhs's user avatar
  • 507
0 votes
1 answer
400 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. ...
Friska Sianturi's user avatar
1 vote
0 answers
245 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\...
sam's user avatar
  • 489
0 votes
1 answer
714 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 ...
sam's user avatar
  • 489
0 votes
1 answer
377 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: <...
sam's user avatar
  • 489
0 votes
0 answers
37 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.
Wajahat Bashir's user avatar
1 vote
1 answer
354 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 ...
Kishan Bharda's user avatar
0 votes
1 answer
150 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 ...
Gonzalo Gutiérrez's user avatar
0 votes
1 answer
68 views

How to modify magento 2 submission form?

How can I add labels to the address fields. Example: Field 1: Field 2: Field 3:
Gerardo Rios's user avatar
1 vote
0 answers
235 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 ...
Jancy Abraham's user avatar
0 votes
0 answers
64 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 ...
niceonelee's user avatar
1 vote
0 answers
76 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 ...
sumeet bajaj's user avatar
  • 1,296

1
2 3 4 5
7