All Questions
Tagged with customer-account customer-address
19 questions
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 ...
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 ...
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 ...
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.
1
vote
1
answer
444
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="...
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 ...
1
vote
0
answers
37
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
1
answer
188
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 ...
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-...
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 ...
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 ...
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 ?
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-...
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->...
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 ...
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?
2
votes
2
answers
811
views
How to add .phtml file in another .phtml file in magento?
I want to show the contents file:
frontend\RWD\default\template\customer/address/edit.phtml
inside the file:
frontend\RWD\default\template\customer/account/dashboard.phtml.
I insert this code ...
1
vote
1
answer
25
views
Visitors have to fill in their contact information twice when buying a product
Currently I get complaints about a Magento Webshop that has Multisafepay as payment provider. Client tell me they have to fill in all their information (like address etc.) twice when they buy a ...
1
vote
0
answers
366
views
Address validation in customer's account [closed]
I need to implement an address validation in the address book in customer's account. The validation should be like the one that happens during the checkout, that checks if the given address exists or ...