Questions tagged [customer-account]

Denotes questions related to customer accounts management.

Filter by
Sorted by
Tagged with
80 votes
22 answers
137k 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,729
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,586
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
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
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
1 vote
2 answers
3k views

Magento 2 - How to Redirect Customer for Checkout After Login when cart is not empty

How to redirect customers to the checkout page after login when the cart is not empty for the customer? Loginpost\Redirect\etc\frontend\di.xml <?xml version="1.0"?> <config xmlns:...
ashanr's user avatar
  • 115
1 vote
1 answer
628 views

Magento2 restrict cc number in the form fields

I would like to restrict CC number (Ex: 4111111111111111) in the customer form fields in the magento2 frontend. Could you please advise me on how to do the step by step in Magento2. Expected Results: ...
Nagaraju Kasa's user avatar
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,418
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
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
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.5k
6 votes
1 answer
15k 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
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
2 votes
2 answers
4k views

Spam customer registrations, CAPTCHA not stopping it, Max field rule being bypassed

Over the last few days we have been getting spam customer registrations, every 90mins about 20 "accounts" are created in a few mins, with the first name being eg Рассадина Зинаида Пантелеймоновна, мы ...
PaddyD's user avatar
  • 369
0 votes
1 answer
1k views

Magento2 display configurable product price range on wishlist page?

I would like to display the configurable product Price Range [Min and Max] Ex: $10.00 - $35.00 on wishlist items from the customer dashboard. (Customer dashboard -> My wishlist items list & ...
Nagaraju Kasa's user avatar
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
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
  • 260
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
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
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
5 answers
4k 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
  • 537
4 votes
2 answers
12k 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
  • 455
3 votes
4 answers
16k views

Magento Reset Password Link not working after upgrade

My client had upgraded magento version in his site recently. But after upgrade whenever the customers try to reset their passwords they get link in their email, and when they click on the link they ...
Vicky Dev's user avatar
  • 1,992
3 votes
1 answer
4k views

Create link dynamically in customer account navigation in Magento 2

Hi i have created account navigation link, and i have two customer groups in magento admin panel, and i only want to display that links to specific group rather than displaying all the time. here is ...
Jay Kapoor's user avatar
3 votes
3 answers
3k views

Magento 2 create custom block and phtml in Magento_Customer module

I want to create a new custom Block and Block phtml file same as the Customer Index Block for use by the customer, when the customer login the customer just clicks on the left navigation link and ...
mageDev0688's user avatar
2 votes
1 answer
502 views

Dashboard links not showing my Custom Form in Magento 2

I am created a New Link in Dashboard Navigation Panel and it is showing and working fine. But when I navigating the dashboard links are not showing in my form. See below pic My Custom Link in ...
Bojjaiah's user avatar
  • 4,002
2 votes
2 answers
2k views

add submenu in customer dashboard left navigation

I want to extend the customer account dashboard menu with a new section shown in the picture below. What is the best practice to do this?
ClassMP's user avatar
  • 1,793
2 votes
1 answer
3k views

Custom Page in My Account

I am trying to create a custom page that will show in the customers My Dashboard area. The page will be similar to the My Orders page however it will show different information. On the website we list ...
Mage17's user avatar
  • 65
2 votes
1 answer
2k views

Add 'Delete my account' link in Customer Navigation Menu

Is there a way to place a link (ie called Delete my account next to the Log out link in the Customer Navigation Account Dashboard? I know there are paid extensions available for that but I'd like to ...
Julian Murillo's user avatar
2 votes
0 answers
815 views

Create custom avatar attribute on registration page

How can I add customer image as an avatar to be shown in customer profile. So user can add his image from registration page.
Jsparo30's user avatar
  • 1,342
2 votes
2 answers
5k views

Adding tel number field to new acount page "create account" page

Is there a way to add "Tel Number:" input field to create account page in Magento 1.7?
Khalil's user avatar
  • 215
2 votes
4 answers
13k views

How to make last name optional in Magento 1.8

I've updated database directly to make is_required on lastname = 0. Removed the js validator for lastname in core. Removed required field in frontend in widget/name.phtml. However, The "Last name ...
user4928's user avatar
1 vote
1 answer
11k views

Customer save after event magento2

I have used this event "customer_save_after_data_object" used this code in events.xml file <event name="customer_save_after_data_object"> <observer name="customer_save_after_observer" ...
Jafar Pinjar's user avatar
  • 1,929
1 vote
4 answers
15k views

Magento 2: How to lock/unlock customers

Seems that Magento hasn't this functionality, maybe it's not so useful but I need to. For locking a customer I mean preventing them of using their account. He can't be able of login, it has to be ...
Marc Pont's user avatar
  • 1,453
1 vote
2 answers
3k views

Remove the invoice link from the customer account page in Magento 2

I would like to remove the Invoices link from the customer account page in Magento 2: I tried to search it in templates and layout files but no luck. Someone know how to do?
Andrea's user avatar
  • 1,849
1 vote
1 answer
4k views

Magento 2 Adding field to Account information tab at admin panel

I have added new customer attribute 'Company' (not to customer_address) and I need to render this in customer_form ui-component at the "Account information" tab. It's already in customer collection ...
Stepan Furman's user avatar
1 vote
1 answer
514 views

I would like to be able to disable customers' accounts temporarily

Just disabling the login would be sufficient. I can't seem to find a plugin that does that and then allows the account to be reactivated. Would simply unconfirming the account do or would someone be ...
Sean's user avatar
  • 11
0 votes
0 answers
322 views

Can not login with customer emai1 in magento2

I am getting below error in my log file when try to login. main.CRITICAL: No such entity with customerId = [] [] Tried below solution that didn't work. Magento 2 - Moving site - 'No such ...
Jafar Pinjar's user avatar
  • 1,929
0 votes
1 answer
87 views

Hi there, it seems an error when click on customer id [closed]

Fatal error:Class 'Mage_Adminhtml_Block_Customer_Edit_Tab_View_Accordion' not found in /home2/sjaved/public_html/dev/umu/app/code/core/Mage/Core/Model/Layout.php on line 491 How to fix it..??
Danish's user avatar
  • 3
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
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
  • 993
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
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,532
8 votes
4 answers
16k 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
2 answers
12k 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,319
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
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
3 answers
2k 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