Questions tagged [customer]

denotes questions related to the customers module

It should be used for questions about the customer configuration, administration, import, login, register.

2106 questions
4
votes
5 answers

Show customer Data (Address, Name, etc) in Frontend/Template

How can I show the customer information from a Shop-User (logged in) at my frontend template. I have some Form-PHTML-files and a customer can fill out the form etc. I want to show "his" user data (Name, Forname, Street, City, ..) at the top of the…
user2310852
  • 501
  • 6
  • 12
  • 20
3
votes
1 answer

How to generate random password for new customer while creating account in magento?

I dont want my customer to enter password while creating account in magento.When customer creates account password should be auto generated and mail should be sent to that customer .Can anybody help me out plz...
saniya
  • 79
  • 2
  • 8
3
votes
3 answers

Remove Customer Account Dashboard Links

I want to remove customer dashboard links. I have used below code and its working fine. But I want to know another way. Please let me know if you have another logic to remove links. Step 1: Go to…
Abhishek Gupta
  • 1,185
  • 8
  • 17
3
votes
2 answers

Logging in on frontend with a customer associated to "Admin" (website)

Is a customer assigned to Admin for the Associate to Website in the admin supposed to be able to log in on the frontend? If not, what is this account for? I can't seem to log on with a customer I made in the admin with website association to admin.…
laketuna
  • 6,830
  • 7
  • 39
  • 80
2
votes
4 answers

most accurate way to get a user country

I am looking at trying to access the country the user is accessing my site from e.g. France, Uk etc... and am looking at the best possible and most accurate way to achieve this. I started on this problem by using $locale = new…
tony09uk
  • 1,707
  • 11
  • 41
  • 56
2
votes
1 answer

Customer registration with customer group

I want to add customer group dropdown option to customer registration I had added below observer code for it. I added dropdown of all customer group in registration form with name (for example cgroupuser), but my code is not working: class…
mcoder
  • 713
  • 2
  • 15
  • 37
2
votes
2 answers

magento customer group during registration

i want to assign customer to specific customer group during , registration , how can i do it. Bascially want to add dropdown , showing list of all available groups from which user can choose i want to do it via modules or observer which observer…
user1799722
  • 970
  • 3
  • 31
  • 77
2
votes
2 answers

Magento 2 - Create customer programmatically from order

What is most optimized way to create customer programmatically from order ? As i need to create customer for a guest user, what will be the better way of implementing it ?
Hamendra Sunthwal
  • 2,488
  • 10
  • 39
2
votes
2 answers

How to track the total amount spent by individual customer?

Hi I would like to know how to track the total amount spent by 1 individual customer? As in a customer might have made many transactions and the total amount spend for that customer. Main reason is I need to find out my top spending customer from…
Berlinda
  • 21
  • 1
  • 2
2
votes
3 answers

Delete a Customer Programmatically

How can I delete a customer in magento by refering using its object from Mage::getModel("customer/customer") ? I already researched in google and with the bad luck I found nothing.
Netorica
  • 471
  • 1
  • 7
  • 24
2
votes
0 answers

Making diffrent customer groups for not logged in

Is there any way I can differentiate customer's from different locations using groups for customers that are not logged in ?
Yehuda Schwartz
  • 1,152
  • 3
  • 14
  • 33
1
vote
0 answers

How to Bulk Delete Spam Customers M2 2.3.5 p1

Just moved over from M1 to M2 (hate it so slow) But during setup I got 100's of spam emails with sex and porn in them. In M1 you could filter on Porn then select and bulk delete no issue. When i try in M2 it does nothing just sits there in console…
Thorrrr
  • 45
  • 1
  • 9
1
vote
2 answers

Magento 1.9.x trying to save $customer data => "Uncaught Mage_Customer_Exception: This customer email already exists"

Magento 1.9.x trying to save $customer data => "Uncaught Mage_Customer_Exception: This customer email already exists" We are looping thru all customers, updating data and saving Only when saving a customer with an email that already exists: we see…
snh_nl
  • 5,442
  • 13
  • 69
  • 133
1
vote
1 answer

magento 2.2.1vesion how to introduce customer CSS files or JS files?

buddy: Now i'm contact the magento 2.0 vesion first time, before i contact the magento 1.0 vesion all the long time. Now i want to add a customer(customize) css file, and a customer(customize) JS file, But i don't konw how to do it? I have to…
nextion
  • 133
  • 1
  • 10
1
vote
1 answer

Format Phone number before it's saved to the database

I am looking for a way to make sure when a phone number is added to the database for an order/customer that it is stripped of all non-numeric characters. I have code to strip the characters and ensure it is all digits/numbers however I am not sure…
JasonDavis
  • 1,073
  • 3
  • 13
  • 30
1
2