Skip to main content

Questions tagged [customer-account]

Denotes questions related to customer accounts management.

Filter by
Sorted by
Tagged with
80 votes
22 answers
140k views

How to check if customer is logged in or not?

How to find if a customer is logged in or not in Magento 2. If the customer is logged in then how to get customer data from a session?
Rakesh Jesadiya's user avatar
29 votes
1 answer
35k views

Add new field in magento(1.9) customer registration

I like to add new field in customer registration and admin customer creation form. The field name is license number. I searched so many links related to my requirement but those do not work in ...
senthil's user avatar
  • 1,739
25 votes
6 answers
38k views

How to add/remove links on my account navigation magento2?

How to remove "Billing Agreements" and "My Wishlist" links from the navigation menu on customer account page?
Rakesh Jesadiya's user avatar
22 votes
5 answers
36k views

Magento 2: How to create a customer custom attribute? [duplicate]

What are steps to create a custom attribute for Customer entity in Magento 2?
huzefam's user avatar
  • 2,636
20 votes
6 answers
21k views

Magento 2: How to show address field in registration form?

I want to display address fields (to save in default billing address) in customer registration form. I know how to do in Magento 1. But I'm struck with Magento 2. Have anybody done this before ..? ...
Elavarasan's user avatar
16 votes
2 answers
2k views

Magento 2 Show customer attribute in ui_component form

I've created ui_component form where I need to show customer details, same as Customer Edit. But, I am able to show their data from customer_entity table. DataProvider.php public function getData() {...
TBS Mage's user avatar
  • 432
13 votes
3 answers
1k views

Creating customers programatically issue

I want to create some customers programatically and I have an issue when I want to save the website ID. I have multiple website IDs: 0 => admin 1 => germany 2 => hungary 3 => romania ...
Attila Naghi's user avatar
12 votes
3 answers
11k views

How to change customer password quickly in Magento 2

In Magento 1 from admin configuration under Manage Customer section we can update/change the customer new password easily. In Magento 2 Sending password reset with only email will help, but not ...
Krishna ijjada's user avatar
12 votes
1 answer
18k views

How to override the controller AccountController

I need to override a method Controller Core/Mage/Customer/controllers/AccountController.php and add a new method. Since this controller to edit is wrong - it should be overridden. According to ...
Nice to see you's user avatar
10 votes
2 answers
8k views

Add custom active links to customer account navigation in Magento 2

I am trying to add a custom link in customer account navigation. My custom link is showing in account navigation and working too, but it's not showing as active/current on click. Below is the code I ...
Shyam's user avatar
  • 1,690
10 votes
4 answers
11k views

Magento Default Captcha shows "Incorrect CAPTCHA" even if correct code is entered

In my magento site I have enabled Captcha for Create Account form of custom theme which I built from scratch(not "rwd"), but when I try to register a customer with providing correct captcha code in ...
H.D.'s user avatar
  • 361
9 votes
6 answers
13k views

Magento 2 - How to rearrange Customer "My Account" links

Now it looks like this: Account Dashboard Account Information Address Book My Downloadable Products My Orders Newsletter Subscription Billing Agreements My Product Reviews My Wish List I want to ...
Mark's user avatar
  • 1,003
9 votes
3 answers
4k views

How to send customer password in welcome mail in magento 2

I know customer's password has been removed from Magento 2 for security reasons but it is requirement. Default Magento 2 not provide a password with new account email. but we have required password ...
Nikunj Vadariya's user avatar
8 votes
4 answers
17k views

Get login URL on product page Magento 2

I would like to get the getLoginUrl() url to put a button to login to my product detail view. Any idea how?
Omitri's user avatar
  • 333
8 votes
4 answers
16k views

How to block/remove registration of new customers in Magento 2?

I want to disable the possibility to register as a new customer on the frontend of my Magento 2 Community Edition store (new customers are being created through a different process). I think I could ...
7ochem's user avatar
  • 7,582
8 votes
2 answers
4k views

How to remove the old cart product after customer login

Customer visit website and add the product, then customer login. if customer already have cart items, its removed old items, newly added items only showing Example: Customer already have 5 ...
VijayS91's user avatar
  • 1,788
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
8 votes
1 answer
4k views

Magento register for account at checkout

Does anyone know whether it is possible to move the customer registration step to the checkout like in the original Magento 1 checkout? Looking for an extension that will do this for me or advice on ...
Jason's user avatar
  • 143
7 votes
4 answers
10k views

edit customer account info links

In /customer/account there are several links account dashboard account information addressbook etc I do not have any need (as far as i can tell) for: recurring profiles my applications my ...
carlo's user avatar
  • 447
7 votes
2 answers
7k views

Magento 1 - Stop Spam Accounts from being created

Every day I am having 3 or 4 new spam accounts being created on my store. I have put one of the new Google Recaptchas on the create an account page but it has made no difference. How do I stop this?
bondimedical's user avatar
7 votes
3 answers
345 views

Update: Magento 1 checkout account create redirect, SUPEE-10570v2 and Magento 1.9.3.9

We currently have a strange problem on our Magento 1.9.3.9 shop. When someone fills in the password fields in the checkout, to create an account. In that case when clicking the place order button on ...
JGeer's user avatar
  • 1,422
7 votes
2 answers
2k views

AccountController override not working on new Action and doing 302 redirection

I am try add new action on AccountController Now: AccountController is override properly But it is whenever hit new Action (ajaxLoginPostAction) is redirect to 302. I add ajaxLoginPost() as open ...
Amit Bera's user avatar
  • 77.7k
6 votes
9 answers
9k views

Customers couldn't login from Safari In magento 1.9

customer login don't works with Safari, only if i activate incognito mode in Safari. After click on login, page reload itself without error massage. I have take: Clear Cookies in Safari Clear ...
ManuHH's user avatar
  • 103
6 votes
5 answers
9k views

People from Russia making fake accounts in our Magento 1.9.x store - why?

Magento 1.9.1 and 1.9.3.7 Porto theme We have 2 Magento installations each with multiple domains/websites. I have noticed recently in the CUSTOMERS --) MANAGE CUSTOMERS area that there are customers ...
Allysin's user avatar
  • 280
6 votes
1 answer
16k views

Call default Magento 2 authentication popup from a custom module

I would like to call the existing authentication modal popup built into Magento 2 from a custom module. It must already be in the body somewhere since it can readily be called by clicking the checkout ...
Front_End_Dev's user avatar
6 votes
2 answers
9k views

Hide "Stored Payment Method" in M2 My Account

How to hide this in the "My Account" Admin menu? Thankyou!
Kara's user avatar
  • 179
6 votes
5 answers
5k views

Add CSS class to body if the customer is logged in

I want to add a CSS class to the body when the customer is logged in or not. I thought this would work: <body> <customer_logged_in> <attribute name="class" value="customer-...
Jim's user avatar
  • 557
6 votes
2 answers
7k views

Customers can't login and can't create an account

On some browsers users are unable to login. Users also don't get feedback. The Magento system just doesn't respond. Sometimes the login does work in incognito mode. Some things I already checked - ...
Willem Rabsztyn's user avatar
6 votes
3 answers
2k views

Render the Customer Account Navigation Phtml file?

I have tried to show the Customer Navigation menu in Custom template file. Below is My Code: <div id="customer_menu"> <?php echo $this->getLayout()->createBlock('customer/...
VijayS91's user avatar
  • 1,788
5 votes
3 answers
4k views

Create Account not working, maybe related to SUPEE 6788 patch

I'm new with Magento and I have a problem creating a new account in a Magento 1.7.0. When I input name, email and password and I click in create account it just refreshes the page. So, I guess, it ...
Jon Zangitu's user avatar
5 votes
5 answers
27k views

how to show my account link in header after successfully login in magento 2.0

how to show my account link in header after successfully login in magento
vnnogile_user's user avatar
5 votes
2 answers
11k views

Magento 2 : Is there any way to disable Welcome Email after signup

What is the right approach to disable Welcome Email after completes registration process. I'm using magento2.1. We have an integration with a customer management system and which will sent email to ...
Zacharia SP's user avatar
5 votes
3 answers
15k views

Magento 2 override the cutomer account loginpost controller

I am trying to overriding the below class in my custom module: vendor\magento\module-customer\Controller\Account\LoginPost.php For overriding this I have created the Plugin file as per the below ...
mageDev0688's user avatar
5 votes
2 answers
12k views

Update Customer Data in Magento2 with custom attribute

I want to update the firstname of a customer like this : $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customerFactory = $objectManager->create('\Magento\Customer\Model\...
Me7z's user avatar
  • 109
5 votes
2 answers
3k views

Magento 2 customer dashboard link show for particular user?

I would like to show the customer dashboard "Pay trade customer link" to particular user (Ex: [email protected]) i have followed this link Add New inbox tab in customer my dashboard in magento 2 for ...
Nagaraju Kasa's user avatar
5 votes
1 answer
1k views

Magento 1.9.x Removing the invoice link from Account Order info pages

The store I am working on handles wholesale orders only and the only functionality I want in the customer account order history area is for the customer to view their orders/status's and delivery, but ...
Jaimie Dijstra's user avatar
5 votes
3 answers
751 views

What is alternative for cacheable="false"?

If I used cacheable="false"in my custom module layout file then I get customer id by using when all type of cache is enabled. public function _construct( \Magento\Customer\Model\Session $session )...
Uday Akoliya's user avatar
5 votes
1 answer
6k views

Create and update rp_token in Magento 2

I'm trying to create customer account manually in my custom module. Customer account is getting created successfully and welcome email is sent to the new customer using $customer->...
sreelakshmi's user avatar
5 votes
3 answers
968 views

How to Remove the invoice & Shipment link from my Account pages? [duplicate]

How can I remove invoices & shipment links from my account/myorder page ? I am using Magento ver. 1.9.2
Aks's user avatar
  • 333
5 votes
2 answers
2k views

Adding Company Field to Customer Registration Field? Magento 2.1

I want to add a company field to the customer registration form, but i can not find the backend option for it. Is there a way i can do it programmatically?
Radosav's user avatar
  • 403
5 votes
1 answer
608 views

How to add custom attribute in magento2.1 customer panel wishlist section?

I want to add guaranty (custom product attribute) to customers wish-list page that is in customer dashboard in my Wishlist tab. Means that I wanted to show price, qty, name, guaranty, and add to ...
MGPM's user avatar
  • 751
5 votes
5 answers
5k views

Reorder Top Links

I have been stuck on this task all day. I am hoping someone has some insight or is this a bug? I have tried a few different approaches and nothing seems to actually work. This is how it currently ...
RLTcode's user avatar
  • 863
5 votes
3 answers
3k views

Programatically Log User Out [Magento 2]

I have written a module which is basically an observer which triggers on 'customer_save_after_data_object' the content of this observer basically listens out for when the customers group is changed. ...
CreativeNerdSam's user avatar
5 votes
2 answers
1k views

How to display only telephone number field in customer registration page

how to add only telephone field from address fields in registration page of magento. I have found way to enable address fields. But i need only telephone number field alone from address fields in ...
Anu's user avatar
  • 420
5 votes
3 answers
3k views

Add custom link in customer account navigation

I want to add custom link in customer's navigation.I have developed below code but getting 404 - not found issue while click on the tab. <?xml version="1.0"?> <page xmlns:xsi="http://www.w3....
Krupali's user avatar
  • 379
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
4 votes
2 answers
3k views

Magento customer reset password customer_flowpassword error

I currently have a error in my 1.9.3.2 store. When a customer wants to reset their password, the Magento Report error page is displayed. When check the report, I get the following error: a:5:{i:0;s:...
JGeer's user avatar
  • 1,422
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
4 votes
3 answers
13k views

Magento 2: How to get first and last name of customer?

I have a customer ID and I want to get first name and last name of that customer. Any solution?
umair ayub's user avatar
  • 1,083
4 votes
3 answers
7k views

Get Purchased Items for a Customer

How to get all items purchased by a customer. Thank you for all the responses. But my issue is that I am trying to show all products in the My Downloadable Products Page. But the following code, $...
Magento_Newbie's user avatar

1
2 3 4 5
20