Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
206 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
0 votes
1 answer
139 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
  • 527
0 votes
0 answers
38 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
4 votes
5 answers
9k 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 ...
Sumit's user avatar
  • 4,968
1 vote
2 answers
1k views

Magento 2 how to disable 'add new address' button from customer address book page, in account section?

I want to disable 'add new address' button from customer account address book and customer account section with checking if my custom module is - enable/disable. file name is : vendor\magento\module-...
Utsav Gupta's user avatar
  • 1,243
0 votes
0 answers
404 views

Not showing order tab at customer details page in admin panel

Few tab like (Orders, Product Reviews, Billing Agreements, Newsletter, Wish List, etc...) are not showing in customer details page in admin panel after magento2 upgrade. All above tab's are showing ...
Jimit Bhavsar's user avatar
2 votes
1 answer
2k views

"Delete operation is forbidden for current area" error while create customer in Magento 2

I modified register page and added address fields. So, when user register address will be save. But having this error when try to save customer. Delete operation is forbidden for current area When ...
Indranil Maity's user avatar
4 votes
2 answers
13k views

Update customer address using address id in magento 2

How can I update customer address by address id in Magento 2 programmatically ?
srg's user avatar
  • 465
1 vote
4 answers
2k views

How can i programatically get customer full addresses in string type?

public function Address() { $customerId = "8"; $customer = $this->customerRepository->getById($customerId); $addresses = $customer->getAddresses(); $billingAddress = $customer-...
srg's user avatar
  • 465
1 vote
1 answer
634 views

In magento 2 how can i programatically get customer full addresses? [closed]

In the Magento 2, how can I programmatically get customers full addresses as a string? I want to modify this code: public function Address() { $customerId = "42"; $customer = $this->...
srg's user avatar
  • 465
2 votes
0 answers
2k views

Magento 2 add telephone number in to the customer account creation form

I want to add telephone number into customer registration form. I get the telephone number field out of if($this->getShowAddressFields()) section and put it outside. Then the field displayed in ...
Renjith R's user avatar
  • 273
8 votes
2 answers
13k views

Magento 2 - Event after customer edit account and address

I need to add some custom logic in my extension after Edit Account Information Change Password Edit Address The customer_save_after_data_object event can be used for case 1. How about 2 & 3?
TFS's user avatar
  • 4,369